Skip to content

Commit 71760d0

Browse files
committed
Fixed linters
1 parent 8134aba commit 71760d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resource/identityschema/list_attribute.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ func (a ListAttribute) IsOptionalForImport() bool {
164164
func (a ListAttribute) ValidateImplementation(_ context.Context, req fwschema.ValidateImplementationRequest, resp *fwschema.ValidateImplementationResponse) {
165165
if a.CustomType == nil && a.ElementType == nil {
166166
resp.Diagnostics.Append(fwschema.AttributeMissingElementTypeDiag(req.Path))
167+
return
167168
}
168169

169170
if !fwtype.IsAllowedPrimitiveType(a.ElementType) {

0 commit comments

Comments
 (0)