From 59ead086a9fbd61cad2187f196b1176c20f98691 Mon Sep 17 00:00:00 2001 From: enyinna1234 Date: Mon, 2 Mar 2020 09:09:46 -0800 Subject: 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 Change-Id: Id3f07b47cedde16235ee7078e1e6f4d287106d29 --- src/orchestrator/cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/orchestrator/cmd') 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) -- cgit 1.2.3-korg