mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	modify two wrong description about InsecurePort
Signed-off-by: PingWang <wang.ping5@zte.com.cn> Update genericapiserver.go Signed-off-by: PingWang <wang.ping5@zte.com.cn>
This commit is contained in:
		@@ -658,7 +658,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))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user