mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Capitalize 'Id' in image_infos
This fixes a false negative result when the docker image has already been built.
This commit is contained in:
parent
d5504945e8
commit
bc255fe859
@ -272,7 +272,7 @@ def built(name,
|
||||
return _valid(
|
||||
name=name,
|
||||
comment='Image already built: {0}, id: {1}'.format(
|
||||
name, image_infos['out']['id']))
|
||||
name, image_infos['out']['Id']))
|
||||
previous_id = image_infos['out']['Id'] if image_infos['status'] else None
|
||||
build = __salt__['docker.build']
|
||||
kw = dict(tag=name,
|
||||
|
Loading…
Reference in New Issue
Block a user