mirror of https://github.com/status-im/consul.git
agent: Provide auto-join metadata to SCADA
This commit is contained in:
parent
85a47ba584
commit
e99f9dd070
|
@ -32,8 +32,9 @@ func ProviderService(c *Config) *client.ProviderService {
|
||||||
"http": 1,
|
"http": 1,
|
||||||
},
|
},
|
||||||
Meta: map[string]string{
|
Meta: map[string]string{
|
||||||
"server": strconv.FormatBool(c.Server),
|
"auto-join": strconv.FormatBool(c.AtlasJoin),
|
||||||
"datacenter": c.Datacenter,
|
"datacenter": c.Datacenter,
|
||||||
|
"server": strconv.FormatBool(c.Server),
|
||||||
},
|
},
|
||||||
ResourceType: resourceType,
|
ResourceType: resourceType,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue