aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/cmd
diff options
context:
space:
mode:
authorenyinna1234 <enyinna.ochulor@intel.com>2020-03-02 09:09:46 -0800
committerenyinna1234 <enyinna.ochulor@intel.com>2020-03-05 04:58:16 -0800
commit59ead086a9fbd61cad2187f196b1176c20f98691 (patch)
treee658558be83f56792b6071b1c520460d11371a32 /src/orchestrator/cmd
parent7b566f2875230e15f79a6549b17240e767cc98f1 (diff)
Change DB Name to accept variable
This enables the initialization of the mongo database name with a variable. Issue-ID: MULTICLOUD-996 Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com> Change-Id: Id3f07b47cedde16235ee7078e1e6f4d287106d29
Diffstat (limited to 'src/orchestrator/cmd')
-rw-r--r--src/orchestrator/cmd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/orchestrator/cmd/main.go b/src/orchestrator/cmd/main.go
index 179cf975..a4c46fe7 100644
--- a/src/orchestrator/cmd/main.go
+++ b/src/orchestrator/cmd/main.go
@@ -34,7 +34,7 @@ func main() {
rand.Seed(time.Now().UnixNano())
- err := db.InitializeDatabaseConnection()
+ err := db.InitializeDatabaseConnection("mco")
if err != nil {
log.Println("Unable to initialize database connection...")
log.Println(err)