mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #47672 from terminalmage/bp-47487
Backport #47487 to 2018.3
This commit is contained in:
commit
d17a16b648
1 changed files with 2 additions and 1 deletions
|
@ -349,9 +349,10 @@ def present(name,
|
|||
# Only add to the changes dict if layers were pulled
|
||||
ret['changes'] = image_update
|
||||
|
||||
error = False
|
||||
|
||||
try:
|
||||
__salt__['docker.inspect_image'](full_image)
|
||||
error = False
|
||||
except CommandExecutionError as exc:
|
||||
msg = exc.__str__()
|
||||
if '404' not in msg:
|
||||
|
|
Loading…
Add table
Reference in a new issue