Skip to content

Commit

Permalink
minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Utkarsh Shukla committed Dec 19, 2024
1 parent 38f1cff commit 548bf51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/serviceconfig/service_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func RunHTTPSServer(ctx context.Context, em EchoManager, routes Destinations, tl
}

func gracefulShutdown(server *http.Server, ctx context.Context){

Check failure on line 100 in internal/serviceconfig/service_server.go

View workflow job for this annotation

GitHub Actions / lint

SA4009: argument ctx is overwritten before first use (staticcheck)
logger := logging.WithContext(ctx).Sugar()
// logger := logging.WithContext(ctx).Sugar()
// logger.Infof("Received signal: %v. Initiating graceful shutdown...\n")

// Create a context with timeout for the shutdown process
Expand Down

0 comments on commit 548bf51

Please sign in to comment.