mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43030 from rallytime/dockermod-minor-change
Small cleanup to dockermod.save
This commit is contained in:
commit
246176b1a6
1 changed files with 0 additions and 1 deletions
|
@ -3843,7 +3843,6 @@ def save(name,
|
|||
if os.path.exists(path) and not overwrite:
|
||||
raise CommandExecutionError('{0} already exists'.format(path))
|
||||
|
||||
compression = kwargs.get('compression')
|
||||
if compression is None:
|
||||
if path.endswith('.tar.gz') or path.endswith('.tgz'):
|
||||
compression = 'gzip'
|
||||
|
|
Loading…
Add table
Reference in a new issue