Fix nebula create-cert error message

This commit is contained in:
Brian Picciano 2024-07-14 14:28:01 +02:00
parent 6fff1dfaeb
commit 0f42d9367c

View File

@ -34,7 +34,7 @@ var subCmdNebulaCreateCert = subCmd{
}
if !hostNameF.Changed || *pubKeyPath == "" {
return errors.New("--hostname, --admin-path, and --pub-key-path are required")
return errors.New("--hostname and --pub-key-path are required")
}
hostPubPEM, err := os.ReadFile(*pubKeyPath)