Skip to content

Commit

Permalink
remove validator from machine catalog / delivery group scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuolun-citrix committed Aug 21, 2024
1 parent 2742011 commit 8d68ef5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,6 @@ func (DeliveryGroupResourceModel) GetSchema() schema.Schema {
Computed: true,
Default: setdefault.StaticValue(types.SetValueMust(types.StringType, []attr.Value{})),
Validators: []validator.Set{
setvalidator.SizeAtLeast(1),
setvalidator.ValueStringsAre(
validator.String(
stringvalidator.RegexMatches(regexp.MustCompile(util.GuidRegex), "must be specified with ID in GUID format"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,6 @@ func (MachineCatalogResourceModel) GetSchema() schema.Schema {
Computed: true,
Default: setdefault.StaticValue(types.SetValueMust(types.StringType, []attr.Value{})),
Validators: []validator.Set{
setvalidator.SizeAtLeast(1),
setvalidator.ValueStringsAre(
validator.String(
stringvalidator.RegexMatches(regexp.MustCompile(util.GuidRegex), "must be specified with ID in GUID format"),
Expand Down

0 comments on commit 8d68ef5

Please sign in to comment.