BugFix: IP in template need as per Struct

Lint changes in SwarmCommandOptions chnaged `Ip` to `IP`.
It required change in template code also.

Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
This commit is contained in:
Kunal Kushwaha
2015-11-06 15:41:42 +09:00
parent 34f818527d
commit 055de5f276

View File

@@ -107,7 +107,7 @@ manage \
{{range .Env}} -e {{.}}{{end}} \
--name swarm-agent \
{{.SwarmImage}} \
join --advertise {{.Ip}}:{{.DockerPort}} {{.SwarmOptions.Discovery}}
join --advertise {{.IP}}:{{.DockerPort}} {{.SwarmOptions.Discovery}}
`
if swarmOptions.Master {