ansible/awx

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

Open

#5 219 ouverte le 3 nov. 2019

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Python (13 071 stars) (3 333 forks)batch import
component:clihelp wantedtype:bug

Description

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

Guide contributeur