summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/generic
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-01-10 09:47:19 -0600
committerbaude <bbaude@redhat.com>2020-01-10 09:47:19 -0600
commitc3956b1974ce545446a443488497dfbc98dda1a8 (patch)
tree99f3257f307d40cd20f1aabd0666ebac1fb77851 /pkg/api/handlers/generic
parent25b34972f4c58ede6528e3ae25c54c29eb9034e1 (diff)
downloadpodman-c3956b1974ce545446a443488497dfbc98dda1a8.tar.gz
podman-c3956b1974ce545446a443488497dfbc98dda1a8.tar.bz2
podman-c3956b1974ce545446a443488497dfbc98dda1a8.zip
address review comments before merge
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/handlers/generic')
-rw-r--r--pkg/api/handlers/generic/containers_create.go2
-rw-r--r--pkg/api/handlers/generic/info.go4
-rw-r--r--pkg/api/handlers/generic/system.go4
-rw-r--r--pkg/api/handlers/generic/version.go4
4 files changed, 7 insertions, 7 deletions
diff --git a/pkg/api/handlers/generic/containers_create.go b/pkg/api/handlers/generic/containers_create.go
index 056f7e95c..ef5337abd 100644
--- a/pkg/api/handlers/generic/containers_create.go
+++ b/pkg/api/handlers/generic/containers_create.go
@@ -3,7 +3,6 @@ package generic
import (
"encoding/json"
"fmt"
- "github.com/containers/libpod/pkg/api/handlers/utils"
"net/http"
"strings"
@@ -12,6 +11,7 @@ import (
"github.com/containers/libpod/libpod/define"
image2 "github.com/containers/libpod/libpod/image"
"github.com/containers/libpod/pkg/api/handlers"
+ "github.com/containers/libpod/pkg/api/handlers/utils"
"github.com/containers/libpod/pkg/namespaces"
createconfig "github.com/containers/libpod/pkg/spec"
"github.com/containers/storage"
diff --git a/pkg/api/handlers/generic/info.go b/pkg/api/handlers/generic/info.go
index 2bef8db4f..c9e79233d 100644
--- a/pkg/api/handlers/generic/info.go
+++ b/pkg/api/handlers/generic/info.go
@@ -2,8 +2,6 @@ package generic
import (
"fmt"
- "github.com/containers/libpod/pkg/api/handlers"
- "github.com/containers/libpod/pkg/api/handlers/utils"
"io/ioutil"
"net/http"
"os"
@@ -14,6 +12,8 @@ import (
"github.com/containers/libpod/libpod"
"github.com/containers/libpod/libpod/config"
"github.com/containers/libpod/libpod/define"
+ "github.com/containers/libpod/pkg/api/handlers"
+ "github.com/containers/libpod/pkg/api/handlers/utils"
"github.com/containers/libpod/pkg/rootless"
"github.com/containers/libpod/pkg/sysinfo"
docker "github.com/docker/docker/api/types"
diff --git a/pkg/api/handlers/generic/system.go b/pkg/api/handlers/generic/system.go
index 254990b95..edf1f8522 100644
--- a/pkg/api/handlers/generic/system.go
+++ b/pkg/api/handlers/generic/system.go
@@ -1,10 +1,10 @@
package generic
import (
- "github.com/containers/libpod/pkg/api/handlers"
- "github.com/containers/libpod/pkg/api/handlers/utils"
"net/http"
+ "github.com/containers/libpod/pkg/api/handlers"
+ "github.com/containers/libpod/pkg/api/handlers/utils"
docker "github.com/docker/docker/api/types"
)
diff --git a/pkg/api/handlers/generic/version.go b/pkg/api/handlers/generic/version.go
index 2c2283d10..39423914d 100644
--- a/pkg/api/handlers/generic/version.go
+++ b/pkg/api/handlers/generic/version.go
@@ -2,14 +2,14 @@ package generic
import (
"fmt"
- "github.com/containers/libpod/pkg/api/handlers"
- "github.com/containers/libpod/pkg/api/handlers/utils"
"net/http"
goRuntime "runtime"
"time"
"github.com/containers/libpod/libpod"
"github.com/containers/libpod/libpod/define"
+ "github.com/containers/libpod/pkg/api/handlers"
+ "github.com/containers/libpod/pkg/api/handlers/utils"
docker "github.com/docker/docker/api/types"
"github.com/pkg/errors"
)