mirror of https://github.com/k3s-io/k3s
Merge pull request #76720 from xichengliudui/constant-block
Using const() defines constants togetherk3s-v1.15.3
commit
c6338cbb58
|
@ -84,8 +84,10 @@ import (
|
||||||
"k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/bootstrap"
|
"k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/bootstrap"
|
||||||
)
|
)
|
||||||
|
|
||||||
const etcdRetryLimit = 60
|
const (
|
||||||
const etcdRetryInterval = 1 * time.Second
|
etcdRetryLimit = 60
|
||||||
|
etcdRetryInterval = 1 * time.Second
|
||||||
|
)
|
||||||
|
|
||||||
// NewAPIServerCommand creates a *cobra.Command object with default parameters
|
// NewAPIServerCommand creates a *cobra.Command object with default parameters
|
||||||
func NewAPIServerCommand() *cobra.Command {
|
func NewAPIServerCommand() *cobra.Command {
|
||||||
|
|
Loading…
Reference in New Issue