mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
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.go
This commit is contained in:
parent
b359b6bfe7
commit
5cb91e5ae3
@ -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(stopCh <-chan struct{}) *cobra.Command {
|
func NewAPIServerCommand(stopCh <-chan struct{}) *cobra.Command {
|
||||||
|
Loading…
Reference in New Issue
Block a user