From b143b6d343da33f0fd9d1eb4530e28fc9e004dd1 Mon Sep 17 00:00:00 2001 From: Cecile Robert-Michon Date: Fri, 6 Apr 2018 15:15:03 -0700 Subject: [PATCH] remove comments june 2017 (#2623) --- pkg/api/v20160930/validate.go | 1 - pkg/api/v20170131/validate.go | 1 - 2 files changed, 2 deletions(-) diff --git a/pkg/api/v20160930/validate.go b/pkg/api/v20160930/validate.go index 5ed5eb3f40..0183248c38 100644 --- a/pkg/api/v20160930/validate.go +++ b/pkg/api/v20160930/validate.go @@ -50,7 +50,6 @@ func (a *AgentPoolProfile) Validate(orchestratorType string) error { } // Kubernetes don't allow agent DNSPrefix if orchestratorType == Kubernetes { - // The line below need to be removed after June 2017 a.DNSPrefix = "" if e := validateNameEmpty(a.DNSPrefix, "AgentPoolProfile.DNSPrefix"); e != nil { return e diff --git a/pkg/api/v20170131/validate.go b/pkg/api/v20170131/validate.go index b47d905597..b76a845acd 100644 --- a/pkg/api/v20170131/validate.go +++ b/pkg/api/v20170131/validate.go @@ -51,7 +51,6 @@ func (a *AgentPoolProfile) Validate(orchestratorType string) error { } // Kubernetes don't allow agent DNSPrefix if orchestratorType == Kubernetes { - // The line below need to be removed after June 2017 a.DNSPrefix = "" if e := validateNameEmpty(a.DNSPrefix, "AgentPoolProfile.DNSPrefix"); e != nil { return e