ansible/awx

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

Open

#5.219 geöffnet am 3. Nov. 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (13.071 Stars) (3.333 Forks)batch import
component:clihelp wantedtype:bug

Beschreibung

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

Contributor Guide