1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #31718 from aaronlehmann/broken-resp

cluster: Fix shadowed resp variable
This commit is contained in:
Sebastiaan van Stijn 2017-03-10 08:36:12 +01:00 committed by GitHub
commit 18163a42ec

View file

@ -193,7 +193,7 @@ func (c *Cluster) UpdateService(serviceIDOrName string, version uint64, spec typ
}
}
resp := &apitypes.ServiceUpdateResponse{}
resp = &apitypes.ServiceUpdateResponse{}
// pin image by digest
if os.Getenv("DOCKER_SERVICE_PREFER_OFFLINE_IMAGE") != "1" {