mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-16 21:56:29 +00:00
Addon version shouldn't rely on io.hass.version
(#3906)
* Addon version doesn't rely on `io.hass.version` * Legacy and non-legacy match so remove the if
This commit is contained in:
parent
ec6da7851e
commit
d684aab207
@ -99,9 +99,7 @@ class DockerAddon(DockerInterface):
|
||||
@property
|
||||
def version(self) -> AwesomeVersion:
|
||||
"""Return version of Docker image."""
|
||||
if self.addon.legacy:
|
||||
return self.addon.version
|
||||
return super().version
|
||||
return self.addon.version
|
||||
|
||||
@property
|
||||
def arch(self) -> str:
|
||||
|
Loading…
x
Reference in New Issue
Block a user