Skip to content

Commit

Permalink
remove pointer
Browse files Browse the repository at this point in the history
Signed-off-by: chahatsagarmain <chahatsagar2003@gmail.com>
  • Loading branch information
chahatsagarmain committed Dec 12, 2024
1 parent b654e54 commit d44e04a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/internal/flags/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type AdminServer struct {
hc *healthcheck.HealthCheck
mux *http.ServeMux
server *http.Server
serverCfg *confighttp.ServerConfig
serverCfg confighttp.ServerConfig
}

// NewAdminServer creates a new admin server.
Expand All @@ -48,7 +48,7 @@ func NewAdminServer(hostPort string) *AdminServer {
logger: zap.NewNop(),
hc: healthcheck.New(),
mux: http.NewServeMux(),
serverCfg: &confighttp.ServerConfig{
serverCfg: confighttp.ServerConfig{
Endpoint: hostPort,
},
}
Expand Down

0 comments on commit d44e04a

Please sign in to comment.