mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
05d2aaaef2
commit
8bab5eaeaa
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