Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add host.id to resource auto-detection #3812

Merged
merged 12 commits into from
Mar 21, 2023
Prev Previous commit
Next Next commit
add todo to use assert.AnError after resource.Detect error handling i…
…s updated
  • Loading branch information
mwear committed Mar 8, 2023
commit a9bdee83a9781a308163a2ca2d3ba8bfbc09ca39
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