From 405663c67188e451e3e298538e6c9a25d11b45c8 Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Tue, 29 Jan 2019 12:32:41 -0800 Subject: [PATCH] Global dns fields not nullable --- apis/management.cattle.io/v3/globaldns_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/management.cattle.io/v3/globaldns_types.go b/apis/management.cattle.io/v3/globaldns_types.go index 0ceae535..2368b36f 100644 --- a/apis/management.cattle.io/v3/globaldns_types.go +++ b/apis/management.cattle.io/v3/globaldns_types.go @@ -54,6 +54,6 @@ type Route53ProviderConfig struct { type CloudflareProviderConfig struct { RootDomain string `json:"rootDomain" norman:"required"` - APIKey string `json:"apiKey" norman:"required,type=password"` - APIEmail string `json:"apiEmail" norman:"required"` + APIKey string `json:"apiKey" norman:"notnullable,required,type=password"` + APIEmail string `json:"apiEmail" norman:"notnullable,required"` }