Merge pull request #91403 from colin404/fix

fix the wrong function description
This commit is contained in:
Kubernetes Prow Robot 2020-05-26 21:08:53 -07:00 committed by GitHub
commit 5e8a7477ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {
c.CorsAllowedOriginList = s.CorsAllowedOriginList
c.ExternalAddress = s.ExternalHost