Skip to content

Commit d089bf5

Browse files
authored
fix: fixed accidentally rolling-update (#570)
Signed-off-by: Aylei <rayingecho@gmail.com>
1 parent 8834fe8 commit d089bf5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkg/controllers/cnset/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ service-address = "${POD_IP}:{{ .LockServicePort }}"
7171
EOF
7272
sed -i "/\[cn.lockservice\]/r ${lsc}" ${conf}
7373
74-
{{- if .EnableMemoryBinPath }}
74+
{{ if .EnableMemoryBinPath }}
7575
MO_BIN=${MO_BIN_PATH}/mo-service
7676
mkdir -p ${MO_BIN_PATH}
7777
cp /mo-service ${MO_BIN}

pkg/controllers/dnset/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ while true; do
104104
fi
105105
done
106106
107-
{{- if .EnableMemoryBinPath }}
107+
{{ if .EnableMemoryBinPath }}
108108
MO_BIN=${MO_BIN_PATH}/mo-service
109109
mkdir -p ${MO_BIN_PATH}
110110
cp /mo-service ${MO_BIN}

pkg/controllers/logset/configmap.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ while true; do
104104
fi
105105
done
106106
107-
{{- if .EnableMemoryBinPath }}
107+
{{ if .EnableMemoryBinPath }}
108108
MO_BIN=${MO_BIN_PATH}/mo-service
109109
mkdir -p ${MO_BIN_PATH}
110110
cp /mo-service ${MO_BIN}
@@ -176,7 +176,7 @@ while true; do
176176
fi
177177
done
178178
179-
{{- if .EnableMemoryBinPath }}
179+
{{ if .EnableMemoryBinPath }}
180180
MO_BIN=${MO_BIN_PATH}/mo-service
181181
mkdir -p ${MO_BIN_PATH}
182182
cp /mo-service ${MO_BIN}

0 commit comments

Comments
 (0)