Skip to content

Commit

Permalink
fix minor issues found durint ENT merge (#14250)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 authored Aug 23, 2022
1 parent a4f007a commit 43fe45d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion command/quota_delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 43fe45d

Please sign in to comment.