Skip to content

Commit

Permalink
Update nomad/resource_namespace_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Gross <tgross@hashicorp.com>
  • Loading branch information
pkazmierczak and tgross authored Jul 31, 2024
1 parent 86dc451 commit 32bf6e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/resource_namespace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ func testResourceNamespaceWithQuota_check(name, quota string) resource.TestCheck
client := testProvider.Meta().(ProviderConfig).client
namespace, _, err := client.Namespaces().Info(name, nil)
if err != nil {
return fmt.Errorf("error reading back namespace %q: %s", name, err)
return fmt.Errorf("error reading back namespace %q: %w", name, err)
}

if namespace.Quota != quota {
Expand Down

0 comments on commit 32bf6e7

Please sign in to comment.