mirror of https://github.com/ansible/ansible.git
Fix sanitizing config lines (#50553)
Previously, the index got out of sync with the actual config list. Invoked with lines: - bad - first - bad - second the sanitization would first delete index 0 and then index 2, which would result in the output - first - bad By reversing the list, we avoid that problem (though a filter() would be nicer)pull/50724/head
parent
cb89b1758d
commit
636e1d5fcb
Loading…
Reference in New Issue