diff --git a/client/config/config.go b/client/config/config.go index 8eead7158..9fde99100 100644 --- a/client/config/config.go +++ b/client/config/config.go @@ -744,13 +744,13 @@ func DefaultConfig() *Config { Max: pointer.Of(4 * time.Minute), }, ConsulRetry: &RetryConfig{ - Attempts: pointer.Of[int](0), // unlimited + Attempts: pointer.Of(0), // unlimited }, VaultRetry: &RetryConfig{ - Attempts: pointer.Of[int](0), // unlimited + Attempts: pointer.Of(0), // unlimited }, NomadRetry: &RetryConfig{ - Attempts: pointer.Of[int](0), // unlimited + Attempts: pointer.Of(0), // unlimited }, }, RPCHoldTimeout: 5 * time.Second, diff --git a/command/quota_delete_test.go b/command/quota_delete_test.go index 69cb2f4d2..92f1e6ca9 100644 --- a/command/quota_delete_test.go +++ b/command/quota_delete_test.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/ci" - "github.com/hashicorp/nomad/helper" + "github.com/hashicorp/nomad/helper/pointer" "github.com/mitchellh/cli" "github.com/posener/complete" "github.com/stretchr/testify/assert"