Skip to content

Commit

Permalink
internal: Remove nolint comments for Block usage
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed May 17, 2022
1 parent e27fe65 commit d020d18
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion internal/fwserver/schema_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func SchemaValidate(ctx context.Context, s tfsdk.Schema, req ValidateSchemaReque
resp.Diagnostics = attributeResp.Diagnostics
}

//nolint:staticcheck // Block support is required within the framework.
for name, block := range s.Blocks {
attributeReq := tfsdk.ValidateAttributeRequest{
AttributePath: tftypes.NewAttributePath().WithAttributeName(name),
Expand Down
1 change: 0 additions & 1 deletion internal/proto6server/schema_plan_modification.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ func SchemaModifyPlan(ctx context.Context, s tfsdk.Schema, req ModifySchemaPlanR
AttributeModifyPlan(ctx, attr, attrReq, resp)
}

//nolint:staticcheck // Block support is required within the framework.
for name, block := range s.Blocks {
blockReq := tfsdk.ModifyAttributePlanRequest{
AttributePath: tftypes.NewAttributePath().WithAttributeName(name),
Expand Down
1 change: 0 additions & 1 deletion internal/toproto6/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ func Schema(ctx context.Context, s *tfsdk.Schema) (*tfprotov6.Schema, error) {
attrs = append(attrs, a)
}

//nolint:staticcheck // Block support is required within the framework.
for name, block := range s.Blocks {
proto6, err := Block(ctx, name, tftypes.NewAttributePath().WithAttributeName(name), block)

Expand Down

0 comments on commit d020d18

Please sign in to comment.