mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +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:
		@@ -656,7 +656,7 @@ func (s *GenericAPIServer) Run(options *options.ServerRunOptions) {
 | 
				
			|||||||
	if s.enableSwaggerSupport {
 | 
						if s.enableSwaggerSupport {
 | 
				
			||||||
		s.InstallSwaggerAPI()
 | 
							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 := ""
 | 
						secureLocation := ""
 | 
				
			||||||
	if options.SecurePort != 0 {
 | 
						if options.SecurePort != 0 {
 | 
				
			||||||
		secureLocation = net.JoinHostPort(options.BindAddress.String(), strconv.Itoa(options.SecurePort))
 | 
							secureLocation = net.JoinHostPort(options.BindAddress.String(), strconv.Itoa(options.SecurePort))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user