Skip to content

Commit

Permalink
Sync vendor and use WithHandler function
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh09 committed Apr 29, 2023
1 parent 8c41888 commit 7aff351
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion agent/handlers/task_server_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func taskServerSetup(credentialsManager credentials.Manager,
agentAPIV1HandlersSetup(muxRouter, state, credentialsManager, cluster, region, apiEndpoint, acceptInsecureCert)

return tmds.NewServer(auditLogger,
tmds.WithRouter(muxRouter),
tmds.WithHandler(muxRouter),
tmds.WithListenAddress(tmds.AddressIPv4()),
tmds.WithReadTimeout(readTimeout),
tmds.WithWriteTimeout(writeTimeout),
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7aff351

Please sign in to comment.