ansible/awx

awxkit: name__in filter returns empty when key contains whitespaces even though value is present

Open

#5,219 建立於 2019年11月3日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (13,071 star) (3,333 fork)batch import
component:clihelp wantedtype:bug

描述

ISSUE TYPE
  • Bug Report
SUMMARY

When a key specified in a name__in filter contains whitespace, then nothing is returned even though the key exists.

ENVIRONMENT
  • N/A
STEPS TO REPRODUCE

Example: inv_source.get_related('groups', name__in='foo bar').results will fail even though foo bar is present.

EXPECTED RESULTS
  • Proper value to be returned when name__in key contains whitespace
ACTUAL RESULTS
  • Empty value
ADDITIONAL INFORMATION
  • N/A

貢獻者指南