Skip to content

Commit

Permalink
chore(server): admin api insecure flag
Browse files Browse the repository at this point in the history
  • Loading branch information
unkn0wn-root committed Dec 23, 2024
1 parent d00a4a6 commit fab6010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (s *Server) startAdminServer() error {
cert = &c
}

} else if !s.apiConfig.Insecure {
} else if !s.apiConfig.AdminAPI.Insecure {
return errors.New(
"TLS not configured and Insecure mode is disabled. If you want to run api on HTTP, set 'insecure' to true",
)
Expand Down

0 comments on commit fab6010

Please sign in to comment.