mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #29943 from cachedout/issue_29933
Check args correctly in boto_rds
This commit is contained in:
commit
b36302291d
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue