mirror of https://github.com/k3s-io/k3s
Using const() defines constants together
Signed-off-by: aaa <1693291525@qq.com> update pull request Signed-off-by: xichengliudui <1693291525@qq.com> update pull request Signed-off-by: xichengliudui <1693291525@qq.com> update pull request Signed-off-by: xichengliudui <1693291525@qq.com> update pull request Signed-off-by: xichengliudui <1693291525@qq.com> update pull request Signed-off-by: xichengliudui <1693291525@qq.com> update pull request Signed-off-by: aaa <1693291525@qq.com> update pull request reset marshal.gok3s-v1.15.3
parent
b359b6bfe7
commit
5cb91e5ae3
|
@ -84,8 +84,10 @@ import (
|
|||
"k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/bootstrap"
|
||||
)
|
||||
|
||||
const etcdRetryLimit = 60
|
||||
const etcdRetryInterval = 1 * time.Second
|
||||
const (
|
||||
etcdRetryLimit = 60
|
||||
etcdRetryInterval = 1 * time.Second
|
||||
)
|
||||
|
||||
// NewAPIServerCommand creates a *cobra.Command object with default parameters
|
||||
func NewAPIServerCommand(stopCh <-chan struct{}) *cobra.Command {
|
||||
|
|
Loading…
Reference in New Issue