Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c6338cbb
Unverified
Commit
c6338cbb
authored
May 22, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
May 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76720 from xichengliudui/constant-block
Using const() defines constants together
parents
367f1353
5cb91e5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
server.go
cmd/kube-apiserver/app/server.go
+4
-2
No files found.
cmd/kube-apiserver/app/server.go
View file @
c6338cbb
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment