mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
boto_rds: fix the condition
This commit is contained in:
parent
30d9397380
commit
1f7d315968
@ -490,8 +490,8 @@ 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:
|
||||
raise SaltInvocationError('At least on of the following must'
|
||||
if not skip_final_snapshot and not final_db_snapshot_identifier:
|
||||
raise SaltInvocationError('At least one of the following must'
|
||||
' be specified: skip_final_snapshot'
|
||||
' final_db_snapshot_identifier')
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user