mirror of
https://github.com/rancher/steve.git
synced 2025-09-02 07:55:31 +00:00
Bump dynamic listener to v0.3.5
Bumps dynamic listener to v0.3.5. Adds a small arg change to account for this version bump which addresses an issue caused by the new version
This commit is contained in:
@@ -200,6 +200,9 @@ func (c *Server) ListenAndServe(ctx context.Context, httpsPort, httpPort int, op
|
||||
|
||||
c.StartAggregation(ctx)
|
||||
|
||||
if len(opts.TLSListenerConfig.SANs) == 0 {
|
||||
opts.TLSListenerConfig.SANs = []string{"127.0.0.1"}
|
||||
}
|
||||
if err := server.ListenAndServe(ctx, httpsPort, httpPort, c, opts); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user