mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-15 05:06:30 +00:00
remove potential tag when pulling new image (#1053)
This commit is contained in:
parent
bce144e197
commit
7e5a960c98
@ -78,6 +78,7 @@ class DockerInterface(CoreSysAttributes):
|
|||||||
Need run inside executor.
|
Need run inside executor.
|
||||||
"""
|
"""
|
||||||
image = image or self.image
|
image = image or self.image
|
||||||
|
image = image.partition(':')[0] # remove potential tag
|
||||||
|
|
||||||
try:
|
try:
|
||||||
_LOGGER.info("Pull image %s tag %s.", image, tag)
|
_LOGGER.info("Pull image %s tag %s.", image, tag)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user