From 37df61eecf90af506bbf3a7a70bc63e49584ac7e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 15 Jan 2021 14:22:23 +0100 Subject: [PATCH] fix typo --- templates/services/droneci_autoscaler_compose.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/services/droneci_autoscaler_compose.yml.j2 b/templates/services/droneci_autoscaler_compose.yml.j2 index 5a23a41..306e1ab 100644 --- a/templates/services/droneci_autoscaler_compose.yml.j2 +++ b/templates/services/droneci_autoscaler_compose.yml.j2 @@ -7,7 +7,7 @@ services: container_name: {{ inst.name }} image: {{ droneci_autoscaler_image }} restart: {{ droneci_autoscaler_restart_policy }} - {% if inst.exposed_ports | default(droneci_autoscaler_exposed_ports) | lenght > 0 %} + {% if inst.exposed_ports | default(droneci_autoscaler_exposed_ports) | length > 0 %} ports: {% for port in inst.exposed_ports | default(droneci_autoscaler_exposed_ports) %} - {{ port | quote }}