mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #28946 from ping035627/ping035627-patch-0714-2
Automatic merge from submit-queue Modify wrong description about "InsecurePort" in genericapiserver.go Modify wrong description about "InsecurePort" in genericapiserver.go, avoid misleading.
This commit is contained in:
commit
bea5232790
@ -656,7 +656,7 @@ func (s *GenericAPIServer) Run(options *options.ServerRunOptions) {
|
||||
if s.enableSwaggerSupport {
|
||||
s.InstallSwaggerAPI()
|
||||
}
|
||||
// We serve on 2 ports. See docs/accessing_the_api.md
|
||||
// We serve on 2 ports. See docs/admin/accessing-the-api.md
|
||||
secureLocation := ""
|
||||
if options.SecurePort != 0 {
|
||||
secureLocation = net.JoinHostPort(options.BindAddress.String(), strconv.Itoa(options.SecurePort))
|
||||
|
Loading…
Reference in New Issue
Block a user