Skip to content

Commit fa73cac

Browse files
committed
fix the wrong function description
1 parent 1d365a8 commit fa73cac

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)