Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-goenka committed Sep 26, 2024
1 parent 894f4aa commit fd01824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/config/loader/process_include.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func validateSingleResourceDefined(r *config.Root, ext, typ string) diag.Diagnos
seenKeys[rr.key] = struct{}{}
}

// Format matches. There's less than or equal to one resource defined in the file.
// Format matches. There's at most one resource defined in the file.
// The resource is also of the correct type.
if typeMatch && len(seenKeys) <= 1 {
return nil
Expand Down

0 comments on commit fd01824

Please sign in to comment.