ansible/awx

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

Open

#5219 aperta il 3 nov 2019

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Python (3333 fork)batch import
component:clihelp wantedtype:bug

Metriche repository

Star
 (13.071 star)
Metriche merge PR
 (Merge medio 24g 6h) (30 PR mergiate in 30 g)

Descrizione

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

Guida contributor