summaryrefslogtreecommitdiff
path: root/pkg/adapter/autoupdate.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/adapter/autoupdate.go')
-rw-r--r--pkg/adapter/autoupdate.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/adapter/autoupdate.go b/pkg/adapter/autoupdate.go
new file mode 100644
index 000000000..01f7a29c5
--- /dev/null
+++ b/pkg/adapter/autoupdate.go
@@ -0,0 +1,11 @@
+// +build !remoteclient
+
+package adapter
+
+import (
+ "github.com/containers/libpod/pkg/autoupdate"
+)
+
+func (r *LocalRuntime) AutoUpdate() ([]string, []error) {
+ return autoupdate.AutoUpdate(r.Runtime)
+}