summaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2021-08-06 12:26:31 +0000
committerGitHub <noreply@github.com>2021-08-06 12:26:31 +0000
commit840981773325499c241d518ffbda06762cfdc759 (patch)
tree10b1d1f80c82b3c8d58864a9669cdcfd3ff7620d /pkg/domain
parent0eb2a02620e28383d3e4458854411f277d1e30f7 (diff)
parent30df551bde460f4f37d6dbd373701873fa5353dc (diff)
downloadpodman-840981773325499c241d518ffbda06762cfdc759.tar.gz
podman-840981773325499c241d518ffbda06762cfdc759.tar.bz2
podman-840981773325499c241d518ffbda06762cfdc759.zip
Merge pull request #11074 from vrothberg/auto-update-rollback
auto-update: simple rollback
Diffstat (limited to 'pkg/domain')
-rw-r--r--pkg/domain/entities/auto-update.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/domain/entities/auto-update.go b/pkg/domain/entities/auto-update.go
index eed617bf8..5ea2cdf15 100644
--- a/pkg/domain/entities/auto-update.go
+++ b/pkg/domain/entities/auto-update.go
@@ -8,6 +8,9 @@ type AutoUpdateOptions struct {
// pending, it will be indicated in the Updated field of
// AutoUpdateReport.
DryRun bool
+ // If restarting the service with the new image failed, restart it
+ // another time with the previous image.
+ Rollback bool
}
// AutoUpdateReport contains the results from running auto-update.