Merge pull request #76720 from xichengliudui/constant-block

Using const() defines constants together
This commit is contained in:
Kubernetes Prow Robot
2019-05-22 15:14:25 -07:00
committed by GitHub

View File

@@ -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() *cobra.Command {