mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Fix wrong condition when fetching the logs on Docker
This commit is contained in:
parent
3b237ed3cc
commit
a7b07c9599
1 changed files with 1 additions and 1 deletions
|
@ -1487,7 +1487,7 @@ def logs_container(container_id):
|
|||
tmp_logs = []
|
||||
if docker_client:
|
||||
try:
|
||||
if integration == "Swarm":
|
||||
if integration != "Swarm":
|
||||
docker_logs = docker_client.containers.get(container_id).logs(
|
||||
stdout=True,
|
||||
stderr=True,
|
||||
|
|
Loading…
Reference in a new issue