Code cleanup for PR

This commit is contained in:
Srikanth 2019-10-29 09:45:30 +05:30
parent afe59ba7cc
commit d237a4cb04
2 changed files with 2 additions and 3 deletions

View File

@ -196,9 +196,8 @@ func listDNS(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
}
if domainName == "" {
klog.Info("Domain Name is empty. Could be configured as gossip. Just ignore.")
klog.Info("Domain Name is empty. Possible that the cluster is configured as gossip..")
return nil, nil
//return nil, fmt.Errorf("failed to find domain for cluster: %s", clusterName)
}
records, err := getAllRecordsByDomain(c, domainName)

View File

@ -52,7 +52,7 @@ var (
func main() {
klog.InitFlags(nil)
fmt.Printf("srikiz now protokube version %s\n", BuildVersion)
fmt.Printf("protokube version %s\n", BuildVersion)
if err := run(); err != nil {
klog.Errorf("Error: %v", err)