remove potential tag when pulling new image (#1053)

This commit is contained in:
Fredrik Erlandsson 2019-04-24 09:46:58 +02:00 committed by Pascal Vizeli
parent bce144e197
commit 7e5a960c98

View File

@ -78,6 +78,7 @@ class DockerInterface(CoreSysAttributes):
Need run inside executor.
"""
image = image or self.image
image = image.partition(':')[0] # remove potential tag
try:
_LOGGER.info("Pull image %s tag %s.", image, tag)