mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
autoconf - fix typo in variable
This commit is contained in:
parent
fdcbc8d361
commit
fb85d1d2d1
1 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ class DockerController(Controller, ConfigCaller) :
|
|||
for container in self.__client.containers.list(filters={"label" : "bunkerweb.SERVER_NAME"}) :
|
||||
# extract server_name
|
||||
server_name = ""
|
||||
for variable, value in controller_service.labels.items() :
|
||||
for variable, value in container.labels.items() :
|
||||
if not variable.startswith("bunkerweb.") :
|
||||
continue
|
||||
real_variable = variable.replace("bunkerweb.", "", 1)
|
||||
|
|
@ -86,7 +86,7 @@ class DockerController(Controller, ConfigCaller) :
|
|||
# extract configs
|
||||
if server_name == "" :
|
||||
continue
|
||||
for variable, value in controller_service.labels.items() :
|
||||
for variable, value in container.labels.items() :
|
||||
if not variable.startswith("bunkerweb.") :
|
||||
continue
|
||||
real_variable = variable.replace("bunkerweb.", "", 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue