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
15300ed7
Unverified
Commit
15300ed7
authored
Dec 12, 2018
by
Kubernetes Prow Robot
Committed by
GitHub
Dec 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71967 from PaulineLc/remove-space-hyperkube
Removed redundant spaces in a comment
parents
05183bff
3678c7ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main.go
cmd/hyperkube/main.go
+1
-1
No files found.
cmd/hyperkube/main.go
View file @
15300ed7
...
@@ -85,7 +85,7 @@ func commandFor(basename string, defaultCommand *cobra.Command, commands []func(
...
@@ -85,7 +85,7 @@ func commandFor(basename string, defaultCommand *cobra.Command, commands []func(
// NewHyperKubeCommand is the entry point for hyperkube
// NewHyperKubeCommand is the entry point for hyperkube
func
NewHyperKubeCommand
(
stopCh
<-
chan
struct
{})
(
*
cobra
.
Command
,
[]
func
()
*
cobra
.
Command
)
{
func
NewHyperKubeCommand
(
stopCh
<-
chan
struct
{})
(
*
cobra
.
Command
,
[]
func
()
*
cobra
.
Command
)
{
// these have to be functions since the command is polymorphic.
Cobra wants you to be
top level
// these have to be functions since the command is polymorphic.
Cobra wants you to be
top level
// command to get executed
// command to get executed
apiserver
:=
func
()
*
cobra
.
Command
{
apiserver
:=
func
()
*
cobra
.
Command
{
ret
:=
kubeapiserver
.
NewAPIServerCommand
(
stopCh
)
ret
:=
kubeapiserver
.
NewAPIServerCommand
(
stopCh
)
...
...
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