mirror of https://github.com/k3s-io/k3s
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>pull/6/head
parent
8f08cb3391
commit
a7cea72e66
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue