mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
fix minor issues found durint ENT merge (#14250)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user