From ea68b9c8cdc7748cd726f8093b871aeb02c2ed08 Mon Sep 17 00:00:00 2001 From: Rahman Oridedi Date: Sun, 30 Dec 2018 14:31:04 -0500 Subject: [PATCH] Update README.md fixing set env command --- mongodb/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongodb/README.md b/mongodb/README.md index 29dfd7fa0..9faa71ac6 100644 --- a/mongodb/README.md +++ b/mongodb/README.md @@ -332,7 +332,7 @@ Several environment variables can be defined to enable and drive the functionali Execute the following command which will interrogate the running environment and set environment variable on the _nodejs-ex_ DeploymentConfig. ``` -$ oc env dc/nodejs-ex MONGO_URL='mongodb://user:pass@mongodb-mongos-ext.mongodb.svc:27017/example' +$ oc set env dc/nodejs-ex MONGO_URL='mongodb://user:pass@mongodb-mongos-ext.mongodb.svc:27017/example' ``` The resulting environment variable can be viewed with the following command