DNS: Fix rrsetNameLength validation (#345)

* fix rrsetNameLength validation

* remove string length validation entirely

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>

---------

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
This commit is contained in:
Simon Stier 2024-04-22 15:51:06 +02:00 committed by GitHub
parent 89b509d622
commit 592007de7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,6 @@ func (r *recordSetResource) Schema(_ context.Context, _ resource.SchemaRequest,
Required: true,
Validators: []validator.String{
stringvalidator.LengthAtLeast(1),
stringvalidator.LengthAtMost(63),
},
},
"fqdn": schema.StringAttribute{