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
f775b24b
Commit
f775b24b
authored
Sep 11, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13462 from ashcrow/master-tests
Auto commit by PR queue bot
parents
3758a01c
66dff577
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
0 deletions
+1
-0
master.go
pkg/master/master.go
+1
-0
master_test.go
pkg/master/master_test.go
+0
-0
No files found.
pkg/master/master.go
View file @
f775b24b
...
@@ -1024,6 +1024,7 @@ func (m *Master) setupSecureProxy(user, privateKeyfile, publicKeyfile string) {
...
@@ -1024,6 +1024,7 @@ func (m *Master) setupSecureProxy(user, privateKeyfile, publicKeyfile string) {
}
}
func
(
m
*
Master
)
generateSSHKey
(
user
,
privateKeyfile
,
publicKeyfile
string
)
error
{
func
(
m
*
Master
)
generateSSHKey
(
user
,
privateKeyfile
,
publicKeyfile
string
)
error
{
// TODO: user is not used. Consider removing it as an input to the function.
private
,
public
,
err
:=
util
.
GenerateKey
(
2048
)
private
,
public
,
err
:=
util
.
GenerateKey
(
2048
)
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
...
...
pkg/master/master_test.go
View file @
f775b24b
This diff is collapsed.
Click to expand it.
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