From 33bf54d08f985e0d21c90bf8f6f76505e2faea1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Cluseau?= Date: Thu, 9 Aug 2018 16:40:50 +0200 Subject: [PATCH] cleanup --- secrets.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/secrets.go b/secrets.go index 3a1c5b7..92a0a0d 100644 --- a/secrets.go +++ b/secrets.go @@ -166,7 +166,6 @@ func (sd *SecretData) KeyCert(cluster, caName, name, profile, label string, req continue } - //for _, part := range strings.Split(host, ".") { if errs := validation.IsDNS1123Subdomain(host); len(errs) == 0 { continue } @@ -176,7 +175,6 @@ func (sd *SecretData) KeyCert(cluster, caName, name, profile, label string, req path := field.NewPath(cluster, name, "hosts").Index(idx) return nil, fmt.Errorf("%v: %q is not an IP or FQDN", path, host) - //} } if req.CA != nil {