ansible/awx

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

开放

#5,219 创建于 2019年11月3日

 (0 条评论) (0 个反应) (0 位负责人)Python (3,333 个派生)batch import
component:clihelp wantedtype:bug

仓库指标

星标
 (13,071 个星标)
PR 合并指标
 (平均合并 24天 6小时) (30 天内合并 30 个 PR)

描述

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

贡献者指南