diff options
Diffstat (limited to 'pkg/api/handlers/compat/system.go')
-rw-r--r-- | pkg/api/handlers/compat/system.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/system.go b/pkg/api/handlers/compat/system.go new file mode 100644 index 000000000..47e187ba1 --- /dev/null +++ b/pkg/api/handlers/compat/system.go @@ -0,0 +1,18 @@ +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, + }}) +} |