From 43fe45d9728c7eade6e6daaf9074fddb51acd651 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Tue, 23 Aug 2022 17:22:18 -0400 Subject: [PATCH] fix minor issues found durint ENT merge (#14250) --- client/config/config.go | 6 +++--- command/quota_delete_test.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/config/config.go b/client/config/config.go index 8eead7158c2..9fde991006c 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 69cb2f4d2c7..92f1e6ca970 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"