From 7d1921866284d2658e726346f6422f80f757d6b4 Mon Sep 17 00:00:00 2001 From: Jack Francis Date: Fri, 19 Jan 2018 12:31:12 -0800 Subject: [PATCH] lint --- pkg/api/types.go | 4 ++-- pkg/api/vlabs/types.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/api/types.go b/pkg/api/types.go index b7e04390cd..583cb04074 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -195,8 +195,8 @@ func (a *KubernetesAddon) IsEnabled(ifNil bool) bool { return *a.Enabled } -// TODO use this when strict JSON accommodates struct embedding // CloudProviderConfig contains the KubernetesConfig properties specific to the Cloud Provider +// TODO use this when strict JSON accommodates struct embedding type CloudProviderConfig struct { CloudProviderBackoff bool `json:"cloudProviderBackoff,omitempty"` CloudProviderBackoffRetries int `json:"cloudProviderBackoffRetries,omitempty"` @@ -208,8 +208,8 @@ type CloudProviderConfig struct { CloudProviderRateLimitBucket int `json:"cloudProviderRateLimitBucket,omitempty"` } -// TODO use this when strict JSON accommodates struct embedding // KubernetesConfigDeprecated are properties that are no longer operable and will be ignored +// TODO use this when strict JSON accommodates struct embedding type KubernetesConfigDeprecated struct { NonMasqueradeCidr string `json:"nonMasqueradeCidr,omitempty"` NodeStatusUpdateFrequency string `json:"nodeStatusUpdateFrequency,omitempty"` diff --git a/pkg/api/vlabs/types.go b/pkg/api/vlabs/types.go index a428498e4b..3e32b6f3b2 100644 --- a/pkg/api/vlabs/types.go +++ b/pkg/api/vlabs/types.go @@ -213,8 +213,8 @@ func (a *KubernetesAddon) IsEnabled(ifNil bool) bool { return *a.Enabled } -// TODO use this when strict JSON checking accommodates struct embedding // CloudProviderConfig contains the KubernetesConfig parameters specific to the Cloud Provider +// TODO use this when strict JSON checking accommodates struct embedding type CloudProviderConfig struct { CloudProviderBackoff bool `json:"cloudProviderBackoff,omitempty"` CloudProviderBackoffRetries int `json:"cloudProviderBackoffRetries,omitempty"`