From bd76869e15bf55c3392ff0b5a55401e8358a776d Mon Sep 17 00:00:00 2001 From: seokho-son Date: Tue, 22 Mar 2022 15:08:49 +0900 Subject: [PATCH] Align shutdown message --- src/api/grpc/server/server.go | 2 +- src/api/rest/server/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/grpc/server/server.go b/src/api/grpc/server/server.go index 64db07a2d..1a1b1421c 100644 --- a/src/api/grpc/server/server.go +++ b/src/api/grpc/server/server.go @@ -92,7 +92,7 @@ func RunServer() { // Block until a signal is triggered <-gracefulShutdownContext.Done() - fmt.Println("\nstop gRPC server") + fmt.Println("\n[Stop] CB-Tumblebug gRPC Server") gs.GracefulStop() }() diff --git a/src/api/rest/server/server.go b/src/api/rest/server/server.go index 41441a939..015b3303e 100644 --- a/src/api/rest/server/server.go +++ b/src/api/rest/server/server.go @@ -302,7 +302,7 @@ func RunServer(port string) { // Block until a signal is triggered <-gracefulShutdownContext.Done() - fmt.Println("\nshutdown REST server after 3 sec") + fmt.Println("\n[Stop] CB-Tumblebug REST Server") ctx, cancel := context.WithTimeout(context.TODO(), 3*time.Second) defer cancel()