Merge pull request #91403 from colin404/fix
fix the wrong function description Kubernetes-commit: 5e8a7477ee6e58e59ada2792b9bcb33c893285a4
This commit is contained in:
commit
f9366697a0
|
|
@ -69,7 +69,7 @@ func NewServerRunOptions() *ServerRunOptions {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ApplyOptions applies the run options to the method receiver and returns self
|
// ApplyTo applies the run options to the method receiver and returns self
|
||||||
func (s *ServerRunOptions) ApplyTo(c *server.Config) error {
|
func (s *ServerRunOptions) ApplyTo(c *server.Config) error {
|
||||||
c.CorsAllowedOriginList = s.CorsAllowedOriginList
|
c.CorsAllowedOriginList = s.CorsAllowedOriginList
|
||||||
c.ExternalAddress = s.ExternalHost
|
c.ExternalAddress = s.ExternalHost
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue