We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c6441 commit 37c01a5Copy full SHA for 37c01a5
cmd/backup/script.go
@@ -366,7 +366,7 @@ func (s *script) stopContainers() (func() error, error) {
366
if serviceMatch.ID == "" {
367
return fmt.Errorf("stopContainers: couldn't find service with name %s", serviceName)
368
}
369
- serviceMatch.Spec.TaskTemplate.ForceUpdate = 1
+ serviceMatch.Spec.TaskTemplate.ForceUpdate += 1
370
if _, err := s.cli.ServiceUpdate(
371
context.Background(), serviceMatch.ID,
372
serviceMatch.Version, serviceMatch.Spec, types.ServiceUpdateOptions{},
0 commit comments