agent: Provide auto-join metadata to SCADA

This commit is contained in:
Armon Dadgar 2015-02-04 18:46:24 -08:00
parent 85a47ba584
commit e99f9dd070
1 changed files with 2 additions and 1 deletions

View File

@ -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,
} }