mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fixing empty tags check
Right now even if you pass in an empty tags list to the module (either with an empty string or null) it will erroneously think the tags list have changed and re-apply the tags on every run
This commit is contained in:
committed by
Matt Clay
parent
35087325a8
commit
665745e2bd
@@ -108,7 +108,7 @@ class RabbitMqUser(object):
|
||||
self.username = username
|
||||
self.password = password
|
||||
self.node = node
|
||||
if tags is None:
|
||||
if not tags:
|
||||
self.tags = list()
|
||||
else:
|
||||
self.tags = tags.split(',')
|
||||
|
||||
Reference in New Issue
Block a user