cluster: Fix shadowed resp variable
| ... | ... |
@@ -193,7 +193,7 @@ func (c *Cluster) UpdateService(serviceIDOrName string, version uint64, spec typ |
| 193 | 193 |
} |
| 194 | 194 |
} |
| 195 | 195 |
|
| 196 |
- resp := &apitypes.ServiceUpdateResponse{}
|
|
| 196 |
+ resp = &apitypes.ServiceUpdateResponse{}
|
|
| 197 | 197 |
|
| 198 | 198 |
// pin image by digest |
| 199 | 199 |
if os.Getenv("DOCKER_SERVICE_PREFER_OFFLINE_IMAGE") != "1" {
|