From 4996ee24bb8d6fd1274164b1d0e6280ff7ead30c Mon Sep 17 00:00:00 2001 From: disaster Date: Wed, 19 Apr 2017 07:48:15 +0000 Subject: [PATCH] Revert hasPrefix --- templates/gocd/0/docker-compose.yml.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gocd/0/docker-compose.yml.tpl b/templates/gocd/0/docker-compose.yml.tpl index 91017bb..aa37a7a 100644 --- a/templates/gocd/0/docker-compose.yml.tpl +++ b/templates/gocd/0/docker-compose.yml.tpl @@ -5,7 +5,7 @@ services: tty: true image: webcenter/alpine-gocd-server:17.3.0-1 volumes: - {{- if call hasPrefix .Values.VOLUME_DRIVER_SERVER "/" }} + {{- if call strings.HasPrefix .Values.VOLUME_DRIVER_SERVER "/" }} - /data/gocd-test:/data {{- else}} - gocd-server-data:/data