summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-07-15 10:50:13 -0400
committerGitHub <noreply@github.com>2021-07-15 10:50:13 -0400
commit5d6a36601776fee55ce3d491f96b620aa3b43218 (patch)
tree182bb6035d67378b5d4ee52a1cc081c305515f51 /pkg/domain/infra/abi
parentbc98c2003d36f9ce5650c1e0f4445be97ca0fa18 (diff)
parent59f31d86acdf54019b081ca86340d5c33dbcf3b9 (diff)
downloadpodman-5d6a36601776fee55ce3d491f96b620aa3b43218.tar.gz
podman-5d6a36601776fee55ce3d491f96b620aa3b43218.tar.bz2
podman-5d6a36601776fee55ce3d491f96b620aa3b43218.zip
Merge pull request #10937 from vrothberg/auto-update
auto-update: add --dry-run
Diffstat (limited to 'pkg/domain/infra/abi')
-rw-r--r--pkg/domain/infra/abi/auto-update.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkg/domain/infra/abi/auto-update.go b/pkg/domain/infra/abi/auto-update.go
index daa882ecf..b98ee1cb2 100644
--- a/pkg/domain/infra/abi/auto-update.go
+++ b/pkg/domain/infra/abi/auto-update.go
@@ -8,9 +8,5 @@ import (
)
func (ic *ContainerEngine) AutoUpdate(ctx context.Context, options entities.AutoUpdateOptions) ([]*entities.AutoUpdateReport, []error) {
- // Convert the entities options to the autoupdate ones. We can't use
- // them in the entities package as low-level packages must not leak
- // into the remote client.
- autoOpts := autoupdate.Options{Authfile: options.Authfile}
- return autoupdate.AutoUpdate(ctx, ic.Libpod, autoOpts)
+ return autoupdate.AutoUpdate(ctx, ic.Libpod, options)
}