mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +08:00
podman v2 remove bloat v2
rid ourseleves of libpod references in v2 client Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@ -4,6 +4,8 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/libpod/pkg/domain/entities"
|
||||
|
||||
"github.com/containers/libpod/pkg/api/handlers/utils"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
@ -13,5 +15,5 @@ func UnsupportedHandler(w http.ResponseWriter, r *http.Request) {
|
||||
log.Infof("Request Failed: %s", msg)
|
||||
|
||||
utils.WriteJSON(w, http.StatusInternalServerError,
|
||||
utils.ErrorModel{Message: msg})
|
||||
entities.ErrorModel{Message: msg})
|
||||
}
|
||||
|
Reference in New Issue
Block a user