Skip to content

Commit

Permalink
minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Utkarsh Shukla committed Dec 12, 2024
1 parent c224cca commit 7eac743
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/serviceconfig/service_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func RunHTTPSServer(ctx context.Context, em EchoManager, routes Destinations, tl
Handler: mux,
}
defer func() {
logger.infoW("RunHTTPSServer Server stopped! with service",service.Name)
logger.infoW("Restarting it!")
logger.Infow("RunHTTPSServer Server stopped! with service",service.Name)
logger.Infow("Restarting it!")
RunHTTPSServer(ctx, em, routes, tlsPath, service)
}()
addDefaults(ctx, server)
Expand All @@ -93,9 +93,9 @@ func RunHTTPServer(ctx context.Context, em EchoManager, routes Destinations, ser

mux.HandleFunc("/", fixedIdentityAPIHandlerMaker(em, routes, service))
defer func() {
logger.infoW("RunHTTPServer Server stopped! with service",service.Name)
logger.infoW("Restarting it!")
RunHTTPServer(ctx, em, routes, tlsPath, service)
logger.Infow("RunHTTPServer Server stopped! with service",service.Name)
logger.Infow("Restarting it!")
RunHTTPServer(ctx, em, routes, service)
}()
server := &http.Server{
Addr: fmt.Sprintf(":%d", service.Port),
Expand Down

0 comments on commit 7eac743

Please sign in to comment.