1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-02-15 07:27:13 +00:00

Bugfix Add-on validate on RO (#803)

This commit is contained in:
Pascal Vizeli
2018-11-09 23:53:41 +01:00
committed by GitHub
parent 9de71472d4
commit 644d13e3fa

View File

@@ -32,7 +32,7 @@ from ..services.validate import DISCOVERY_SERVICES
_LOGGER = logging.getLogger(__name__)
RE_VOLUME = re.compile(r"^(config|ssl|addons|backup|share)(?::(rw|:ro))?$")
RE_VOLUME = re.compile(r"^(config|ssl|addons|backup|share)(?::(rw|ro))?$")
RE_SERVICE = re.compile(r"^(?P<service>mqtt):(?P<rights>provide|want|need)$")
V_STR = 'str'