mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-24 12:56:30 +00:00
Fixed out-of-scope variable
This commit is contained in:
parent
ccbbbeb928
commit
c417813df9
@ -257,7 +257,7 @@ def get_nginx_conf_from_container(container):
|
|||||||
strm, stat = container.get_archive('/etc/nginx/conf.d/default.conf')
|
strm, stat = container.get_archive('/etc/nginx/conf.d/default.conf')
|
||||||
with tarfile.open(fileobj=StringIO(strm.read())) as tf:
|
with tarfile.open(fileobj=StringIO(strm.read())) as tf:
|
||||||
conffile = tf.extractfile('default.conf')
|
conffile = tf.extractfile('default.conf')
|
||||||
return conffile.read()
|
return conffile.read()
|
||||||
|
|
||||||
|
|
||||||
def docker_compose_up(compose_file='docker-compose.yml'):
|
def docker_compose_up(compose_file='docker-compose.yml'):
|
||||||
|
Loading…
Reference in New Issue
Block a user