Skip to content

Commit 87a989f

Browse files
committed
fix: use correct mongo user password to instance config
SE-6524
1 parent 2c9b8bf commit 87a989f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tooling/phd/cli/instance_create.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ def _update_mongodb_password(
393393
mongodb_password = k8s_client.read_secret(
394394
PHD_MONGODB_USER_PASSWORD_SECRET, instance_name
395395
)
396-
print(mongodb_password)
397-
print(config_data["MONGODB_PASSWORD"])
396+
print(mongodb_password["data"])
397+
print(config_data)
398398
config_data["MONGODB_PASSWORD"] = "abcd1234"
399399
print(config_data["MONGODB_PASSWORD"])
400400
with open(config_file, "w", encoding="utf-8") as f:

0 commit comments

Comments
 (0)