aboutsummaryrefslogtreecommitdiff
path: root/pkg/systemd/generate
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-07-28 08:23:45 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-07-28 08:23:45 -0400
commita5e37ad2805b2594339e0d5d41da0e0cc37e4f4a (patch)
treef1d1fef82a8bddfaf2c7c10f9fd91e1b74499393 /pkg/systemd/generate
parent91c92d10fc64af7e7813ba46f8eae8a8e7db44de (diff)
downloadpodman-a5e37ad2805b2594339e0d5d41da0e0cc37e4f4a.tar.gz
podman-a5e37ad2805b2594339e0d5d41da0e0cc37e4f4a.tar.bz2
podman-a5e37ad2805b2594339e0d5d41da0e0cc37e4f4a.zip
Switch all references to github.com/containers/libpod -> podman
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/systemd/generate')
-rw-r--r--pkg/systemd/generate/containers.go8
-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
4 files changed, 9 insertions, 9 deletions
diff --git a/pkg/systemd/generate/containers.go b/pkg/systemd/generate/containers.go
index b77fb5e11..3d266a7a1 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/v2/libpod"
- "github.com/containers/libpod/v2/pkg/domain/entities"
- "github.com/containers/libpod/v2/version"
+ "github.com/containers/podman/v2/libpod"
+ "github.com/containers/podman/v2/pkg/domain/entities"
+ "github.com/containers/podman/v2/version"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)
@@ -237,7 +237,7 @@ func executeContainerTemplate(info *containerInfo, options entities.GenerateSyst
// Enforce --replace for named containers. This will
// make systemd units more robuts as it allows them to
// start after system crashes (see
- // github.com/containers/libpod/issues/5485).
+ // github.com/containers/podman/issues/5485).
startCommand = append(startCommand, "--replace")
}
startCommand = append(startCommand, info.CreateCommand[index:]...)
diff --git a/pkg/systemd/generate/containers_test.go b/pkg/systemd/generate/containers_test.go
index 13138c0cd..41817c03c 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/v2/pkg/domain/entities"
+ "github.com/containers/podman/v2/pkg/domain/entities"
)
func TestValidateRestartPolicyContainer(t *testing.T) {
diff --git a/pkg/systemd/generate/pods.go b/pkg/systemd/generate/pods.go
index 1c7ef7792..ec28dfe84 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/v2/libpod"
- "github.com/containers/libpod/v2/pkg/domain/entities"
- "github.com/containers/libpod/v2/version"
+ "github.com/containers/podman/v2/libpod"
+ "github.com/containers/podman/v2/pkg/domain/entities"
+ "github.com/containers/podman/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 4089b44e5..32c760956 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/v2/pkg/domain/entities"
+ "github.com/containers/podman/v2/pkg/domain/entities"
)
func TestValidateRestartPolicyPod(t *testing.T) {