Skip to content

Commit 457bbb3

Browse files
committed
Allow empty cluster config (#1179)
(cherry picked from commit 86eaec7)
1 parent 940811a commit 457bbb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/types/clusterconfig/clusterconfig.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ type AccessConfig struct {
113113
}
114114

115115
var UserValidation = &cr.StructValidation{
116+
TreatNullAsEmpty: true,
116117
StructFieldValidations: []*cr.StructFieldValidation{
117118
{
118119
StructField: "InstanceType",

0 commit comments

Comments
 (0)