summaryrefslogtreecommitdiff
path: root/pkg/systemd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-06 10:58:38 -0400
committerGitHub <noreply@github.com>2020-07-06 10:58:38 -0400
commit9eac75a967e3459b32b1acd220afb49b60f5e5aa (patch)
treef716dd8517bc98dbbb6d36c4c7984aa7ea119c25 /pkg/systemd
parent778f34a15ca22d6f469a90fda8e43e1b773c7745 (diff)
parent8489dc43458da43d12ae37bac63753811acf96d9 (diff)
downloadpodman-9eac75a967e3459b32b1acd220afb49b60f5e5aa.tar.gz
podman-9eac75a967e3459b32b1acd220afb49b60f5e5aa.tar.bz2
podman-9eac75a967e3459b32b1acd220afb49b60f5e5aa.zip
Merge pull request #6864 from vrothberg/v2-module
move go module to v2
Diffstat (limited to 'pkg/systemd')
-rw-r--r--pkg/systemd/dbus.go2
-rw-r--r--pkg/systemd/generate/containers.go6
-rw-r--r--pkg/systemd/generate/containers_test.go2
-rw-r--r--pkg/systemd/generate/pods.go6
-rw-r--r--pkg/systemd/generate/pods_test.go2
5 files changed, 9 insertions, 9 deletions
diff --git a/pkg/systemd/dbus.go b/pkg/systemd/dbus.go
index df24667a1..76ea2b9b4 100644
--- a/pkg/systemd/dbus.go
+++ b/pkg/systemd/dbus.go
@@ -6,7 +6,7 @@ import (
"path/filepath"
"strconv"
- "github.com/containers/libpod/pkg/rootless"
+ "github.com/containers/libpod/v2/pkg/rootless"
"github.com/coreos/go-systemd/v22/dbus"
godbus "github.com/godbus/dbus/v5"
)
diff --git a/pkg/systemd/generate/containers.go b/pkg/systemd/generate/containers.go
index 333f8ef88..b77fb5e11 100644
--- a/pkg/systemd/generate/containers.go
+++ b/pkg/systemd/generate/containers.go
@@ -11,9 +11,9 @@ import (
"text/template"
"time"
- "github.com/containers/libpod/libpod"
- "github.com/containers/libpod/pkg/domain/entities"
- "github.com/containers/libpod/version"
+ "github.com/containers/libpod/v2/libpod"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
+ "github.com/containers/libpod/v2/version"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/systemd/generate/containers_test.go b/pkg/systemd/generate/containers_test.go
index e108251ea..13138c0cd 100644
--- a/pkg/systemd/generate/containers_test.go
+++ b/pkg/systemd/generate/containers_test.go
@@ -3,7 +3,7 @@ package generate
import (
"testing"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
)
func TestValidateRestartPolicyContainer(t *testing.T) {
diff --git a/pkg/systemd/generate/pods.go b/pkg/systemd/generate/pods.go
index cb4078fac..1c7ef7792 100644
--- a/pkg/systemd/generate/pods.go
+++ b/pkg/systemd/generate/pods.go
@@ -11,9 +11,9 @@ import (
"text/template"
"time"
- "github.com/containers/libpod/libpod"
- "github.com/containers/libpod/pkg/domain/entities"
- "github.com/containers/libpod/version"
+ "github.com/containers/libpod/v2/libpod"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
+ "github.com/containers/libpod/v2/version"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/systemd/generate/pods_test.go b/pkg/systemd/generate/pods_test.go
index 874d7204e..4089b44e5 100644
--- a/pkg/systemd/generate/pods_test.go
+++ b/pkg/systemd/generate/pods_test.go
@@ -3,7 +3,7 @@ package generate
import (
"testing"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
)
func TestValidateRestartPolicyPod(t *testing.T) {