Skip to content

Commit

Permalink
add todo to use assert.AnError after resource.Detect error handling i…
Browse files Browse the repository at this point in the history
…s updated
  • Loading branch information
mwear committed Mar 7, 2023
1 parent d80dedb commit a154c62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/resource/host_id_export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func mockHostIDProvider() {

func mockHostIDProviderWithError() {
resource.SetHostIDProvider(
// TODO: After #3844 merges, return assert.AnError and update tests in `resource_test.go`.
func() (string, error) { return "", errors.New("not found") },
)
}
Expand Down

0 comments on commit a154c62

Please sign in to comment.