mirror of
https://github.com/containers/podman.git
synced 2025-05-25 02:57:21 +08:00

To help with packaging, the handlers in pkg/api/handlers are now found in pkg/api/handler/compat. Signed-off-by: Jhon Honce <jhonce@redhat.com>
19 lines
418 B
Go
19 lines
418 B
Go
package compat
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/containers/libpod/pkg/api/handlers"
|
|
"github.com/containers/libpod/pkg/api/handlers/utils"
|
|
docker "github.com/docker/docker/api/types"
|
|
)
|
|
|
|
func GetDiskUsage(w http.ResponseWriter, r *http.Request) {
|
|
utils.WriteResponse(w, http.StatusOK, handlers.DiskUsage{DiskUsage: docker.DiskUsage{
|
|
LayersSize: 0,
|
|
Images: nil,
|
|
Containers: nil,
|
|
Volumes: nil,
|
|
}})
|
|
}
|