Commit 5cb91e5a authored by aaa's avatar aaa

Using const() defines constants together

Signed-off-by: 's avataraaa <1693291525@qq.com> update pull request Signed-off-by: 's avatarxichengliudui <1693291525@qq.com> update pull request Signed-off-by: 's avatarxichengliudui <1693291525@qq.com> update pull request Signed-off-by: 's avatarxichengliudui <1693291525@qq.com> update pull request Signed-off-by: 's avatarxichengliudui <1693291525@qq.com> update pull request Signed-off-by: 's avatarxichengliudui <1693291525@qq.com> update pull request Signed-off-by: 's avataraaa <1693291525@qq.com> update pull request reset marshal.go
parent b359b6bf
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment