test: improved master coverage.

This commit is contained in:
Steve Milner
2015-09-03 13:35:04 -04:00
parent 90ba96d486
commit 66dff577f4
2 changed files with 402 additions and 87 deletions

View File

@@ -1024,6 +1024,7 @@ func (m *Master) setupSecureProxy(user, privateKeyfile, publicKeyfile string) {
}
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)
if err != nil {
return err