Skip to content

Commit

Permalink
Align shutdown message
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-son committed Mar 22, 2022
1 parent f5a22ea commit bd76869
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/grpc/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}()

Expand Down
2 changes: 1 addition & 1 deletion src/api/rest/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit bd76869

Please sign in to comment.