summaryrefslogtreecommitdiffstats
path: root/src/rsync/cmd
diff options
context:
space:
mode:
authorManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2020-06-19 17:54:58 +0000
committerManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2020-06-24 22:58:20 +0000
commit81c8ffaa3046245caf3aff5bffe2b971d497ac3d (patch)
tree92804e8f522fa2ec352b4d3bea16d8c2abc645ac /src/rsync/cmd
parent7b860ae60bf9686b449ab2fe3f18c33944bdd71c (diff)
Instantiation and termination of a given context implementation.
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I60e11aaad97b60efc24a02866dc0e580507e5296
Diffstat (limited to 'src/rsync/cmd')
-rw-r--r--src/rsync/cmd/main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rsync/cmd/main.go b/src/rsync/cmd/main.go
index f46fa79b..95c36e20 100644
--- a/src/rsync/cmd/main.go
+++ b/src/rsync/cmd/main.go
@@ -81,7 +81,6 @@ func main() {
// Initialize the mongodb
err := db.InitializeDatabaseConnection("mco")
if err != nil {
- fmt.Println(" Exiting mongod ")
log.Println("Unable to initialize database connection...")
log.Println(err)
log.Fatalln("Exiting...")
@@ -90,14 +89,13 @@ func main() {
// Initialize contextdb
err = contextDb.InitializeContextDatabase()
if err != nil {
- fmt.Println(" Exiting etcd")
log.Println("Unable to initialize database connection...")
log.Println(err)
log.Fatalln("Exiting...")
}
// Start grpc
- fmt.Println("starting rsync GRPC server..")
+ log.Println("starting rsync GRPC server..")
err = startGrpcServer()
if err != nil {
log.Fatalf("GRPC server failed to start")