Merge pull request #1292 from zgfh/feature/karmada-init

karmada init: add more message for easy debug  when nodePort exist
This commit is contained in:
karmada-bot 2022-01-21 09:39:26 +08:00 committed by GitHub
commit 499dcaa5e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ func (i *CommandInitOption) Complete() error {
i.KubeClientSet = clientSet
if !i.isNodePortExist() {
return fmt.Errorf("nodePort %v already exist", i.KarmadaAPIServerNodePort)
return fmt.Errorf("nodePort of karmada apiserver %v already exist", i.KarmadaAPIServerNodePort)
}
if i.EtcdStorageMode == "hostPath" && i.EtcdNodeSelectorLabels == "" {