Fix nebula create-cert error message
This commit is contained in:
parent
6fff1dfaeb
commit
0f42d9367c
@ -34,7 +34,7 @@ var subCmdNebulaCreateCert = subCmd{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !hostNameF.Changed || *pubKeyPath == "" {
|
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)
|
hostPubPEM, err := os.ReadFile(*pubKeyPath)
|
||||||
|
Loading…
Reference in New Issue
Block a user