s3_bucket: fixes #22464 without fully implementing support for ceph bucket update (#22538)

This commit is contained in:
Joshua C. Randall 2017-03-13 14:29:14 +00:00 committed by Sloane Hertel
parent 8b6d786cff
commit 444b67ca0c

View file

@ -434,7 +434,7 @@ def main():
state = module.params.get("state") state = module.params.get("state")
if state == 'present': if state == 'present':
create_or_update_bucket(connection, module, location) create_or_update_bucket(connection, module, location, flavour=flavour)
elif state == 'absent': elif state == 'absent':
destroy_bucket(connection, module, flavour=flavour) destroy_bucket(connection, module, flavour=flavour)