Create templates path, and remove unnecessary arguments.

This commit is contained in:
Mariano Cano 2019-10-11 11:25:48 -07:00 committed by max furman
parent 37f17213bb
commit 019f679189
2 changed files with 22 additions and 20 deletions

View file

@ -162,7 +162,7 @@ func onboardAction(ctx *cli.Context) error {
}
func onboardPKI(config onboardingConfiguration) (*authority.Config, string, error) {
p, err := pki.New(pki.GetPublicPath(), pki.GetSecretsPath(), pki.GetConfigPath())
p, err := pki.New()
if err != nil {
return nil, "", err
}