Skip to content

Commit ee61dc4

Browse files
authored
fix: Fix the incorrect data-enc-key checking logic (#190)
1 parent e98ff9a commit ee61dc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compose/scripts/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ initializeNacos() {
142142
fi
143143
fi
144144

145-
if [ "$NACOS_USE_RANDOM_DATA_ENC_KEY" != "N" ]; then
145+
if [ "$NACOS_USE_RANDOM_DATA_ENC_KEY" == "N" ]; then
146146
echo " Fixed data encryption key is used. Skip config overwriting check."
147147
else
148148
# Even the namespace is just created, there might be some dangling config items in it if the namespace itself was delete before without cleaning all the configs first.

0 commit comments

Comments
 (0)