Skip to content

Commit

Permalink
Check args correctly in boto_rds
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Place committed Dec 22, 2015
1 parent 05d2aaa commit 8bab5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/boto_rds.py
Expand Up @@ -486,7 +486,7 @@ def delete(name, skip_final_snapshot=None, final_db_snapshot_identifier=None,
'''
conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)

if not skip_final_snapshot or final_db_snapshot_identifier:
if not skip_final_snapshot and not final_db_snapshot_identifier:
raise SaltInvocationError('At least on of the following must'
' be specified: skip_final_snapshot'
' final_db_snapshot_identifier')
Expand Down

0 comments on commit 8bab5ea

Please sign in to comment.