Allow additional kwargs in states.dockerng.image_present (#36156)

Fixes #31513
This commit is contained in:
t2b 2016-09-09 17:32:38 +02:00 committed by Nicole Thomas
parent 24b0387b92
commit d4628f3c6b

View file

@ -474,7 +474,8 @@ def image_present(name,
load=None,
force=False,
insecure_registry=False,
client_timeout=CLIENT_TIMEOUT):
client_timeout=CLIENT_TIMEOUT,
**kwargs):
'''
Ensure that an image is present. The image can either be pulled from a
Docker registry, built from a Dockerfile, or loaded from a saved image.