Skip to content

Commit

Permalink
Resolve linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SBGoods committed Jul 21, 2023
1 parent 41078d9 commit 8ca5d89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion plancheck/expect_sensitive_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func (e expectSensitiveValue) CheckPlan(ctx context.Context, req CheckPlanReques
}

resp.Error = fmt.Errorf("%s - Resource not found in plan ResourceChanges", e.resourceAddress)
return
}

// ExpectSensitiveValue returns a plan check that asserts that the specified attribute at the given resource has a sensitive value.
Expand Down
1 change: 0 additions & 1 deletion plancheck/expect_unknown_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func (e expectUnknownValue) CheckPlan(ctx context.Context, req CheckPlanRequest,
}

resp.Error = fmt.Errorf("%s - Resource not found in plan ResourceChanges", e.resourceAddress)
return
}

// ExpectUnknownValue returns a plan check that asserts that the specified attribute at the given resource has an unknown value.
Expand Down
10 changes: 5 additions & 5 deletions tfjsonpath/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ import (
// For example, to represent the first element of a JSON array
// underneath a "some_array" property of this JSON value:
//
// {
// "some_array": [true]
// }
// {
// "some_array": [true]
// }
//
// The path code would be represented by:
// The path code would be represented by:
//
// tfjsonpath.New("some_array").AtSliceIndex(0)
// tfjsonpath.New("some_array").AtSliceIndex(0)
//
// [terraform-json]: (https://pkg.go.dev/github.com/hashicorp/terraform-json)
type Path struct {
Expand Down

0 comments on commit 8ca5d89

Please sign in to comment.