This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch bugfix/prefix
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git

commit 2e1f581c1112e297429a95274eced74b9096b4c8
Author: kezhenxu94 <kezhenx...@163.com>
AuthorDate: Sat Oct 24 16:40:44 2020 +0800

    bugfix: hasPrefix arguments positions are wrong
---
 chart/skywalking/templates/es-init.job.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chart/skywalking/templates/es-init.job.yaml 
b/chart/skywalking/templates/es-init.job.yaml
index 8234552..393dc87 100644
--- a/chart/skywalking/templates/es-init.job.yaml
+++ b/chart/skywalking/templates/es-init.job.yaml
@@ -15,7 +15,7 @@
 
 # https://docs.sentry.io/server/installation/docker/#running-migrations
 
-{{- if hasPrefix .Values.oap.storageType "elasticsearch" }}
+{{- if hasPrefix "elasticsearch" .Values.oap.storageType }}
 apiVersion: batch/v1
 kind: Job
 metadata:

Reply via email to