aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod/images.go
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-02-11 22:55:56 +0100
committerMatthew Heon <mheon@redhat.com>2021-02-18 11:11:29 -0500
commitfe4333c1e87ab479fda44261b2cb820484422f85 (patch)
tree9eeedae859cc9122b9a2bc9c5777149bc4741a25 /pkg/api/handlers/libpod/images.go
parent6470f970154c4d21e591fe18d59d1f471b51b5d7 (diff)
downloadpodman-fe4333c1e87ab479fda44261b2cb820484422f85.tar.gz
podman-fe4333c1e87ab479fda44261b2cb820484422f85.tar.bz2
podman-fe4333c1e87ab479fda44261b2cb820484422f85.zip
Enable whitespace linter
Use the whitespace linter and fix the reported problems. [NO TESTS NEEDED] Signed-off-by: Paul Holzinger <paul.holzinger@web.de> <MH: Fixed up cherry-pick conflicts> Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod/images.go')
-rw-r--r--pkg/api/handlers/libpod/images.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/api/handlers/libpod/images.go b/pkg/api/handlers/libpod/images.go
index 97cd5a65e..efc2b53b5 100644
--- a/pkg/api/handlers/libpod/images.go
+++ b/pkg/api/handlers/libpod/images.go
@@ -266,7 +266,6 @@ func ExportImages(w http.ResponseWriter, r *http.Request) {
if len(query.References) > 1 && query.Format != define.V2s2Archive {
utils.Error(w, "unsupported format", http.StatusInternalServerError, errors.Errorf("multi-image archives must use format of %s", define.V2s2Archive))
return
-
}
switch query.Format {
@@ -445,7 +444,6 @@ func PushImage(w http.ResponseWriter, r *http.Request) {
if authconf != nil {
username = authconf.Username
password = authconf.Password
-
}
options := entities.ImagePushOptions{
Authfile: authfile,