diff --git a/nomad/structs/config/consul.go b/nomad/structs/config/consul.go index 97fa6afc260..a5df0762201 100644 --- a/nomad/structs/config/consul.go +++ b/nomad/structs/config/consul.go @@ -65,8 +65,8 @@ type ConsulConfig struct { GRPCAddr string `hcl:"grpc_address"` // Timeout is used by Consul HTTP Client - Timeout time.Duration - TimeoutHCL string `hcl:"timeout" json:"-"` + Timeout time.Duration `hcl:"-"` + TimeoutHCL string `hcl:"timeout" json:"-"` // Token is used to provide a per-request ACL token. This options overrides // the agent's default token