From fdb95a1ac6c93f633224f165eae9d1ba86977a93 Mon Sep 17 00:00:00 2001 From: Prachi Damle Date: Tue, 29 May 2018 14:13:53 -0700 Subject: [PATCH] Make Cluster displayName a required field --- apis/management.cattle.io/v3/cluster_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/cluster_types.go b/apis/management.cattle.io/v3/cluster_types.go index fc1e0f57..12ddb720 100644 --- a/apis/management.cattle.io/v3/cluster_types.go +++ b/apis/management.cattle.io/v3/cluster_types.go @@ -56,7 +56,7 @@ type Cluster struct { } type ClusterSpec struct { - DisplayName string `json:"displayName"` + DisplayName string `json:"displayName" norman:"required"` Description string `json:"description"` Internal bool `json:"internal" norman:"nocreate,noupdate"` DesiredAgentImage string `json:"desiredAgentImage"`