Bläddra i källkod

container-engine: skip openshift_docker_log_driver when it is False

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Giuseppe Scrivano 7 år sedan
förälder
incheckning
5431d1228d
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 }},