Skip to content

Commit 5e8a747

Browse files
authored
Merge pull request kubernetes#91403 from colin404/fix
fix the wrong function description
2 parents 7134718 + fa73cac commit 5e8a747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func NewServerRunOptions() *ServerRunOptions {
6969
}
7070
}
7171

72-
// ApplyOptions applies the run options to the method receiver and returns self
72+
// ApplyTo applies the run options to the method receiver and returns self
7373
func (s *ServerRunOptions) ApplyTo(c *server.Config) error {
7474
c.CorsAllowedOriginList = s.CorsAllowedOriginList
7575
c.ExternalAddress = s.ExternalHost

0 commit comments

Comments
 (0)