Explorar o código

container-engine: skip openshift_docker_log_driver when it is False

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Giuseppe Scrivano %!s(int64=7) %!d(string=hai) anos
pai
achega
5431d1228d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      roles/container_runtime/templates/daemon.json

+ 1 - 1
roles/container_runtime/templates/daemon.json

@@ -5,7 +5,7 @@
     "disable-legacy-registry": false,
     "exec-opts": ["native.cgroupdriver=systemd"],
     "insecure-registries": {{ l_docker_insecure_registries }},
-{% if openshift_docker_log_driver is defined  %}
+{% if openshift_docker_log_driver  %}
     "log-driver": "{{ openshift_docker_log_driver }}",
 {%- endif %}
     "log-opts": {{ l_docker_log_options_dict }},