mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #43030 from rallytime/dockermod-minor-change
Small cleanup to dockermod.save
This commit is contained in:
commit
246176b1a6
@ -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…
Reference in New Issue
Block a user