aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/system.go
blob: 322bfa7ed6b694f54ba3e894cd5899e66406b963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package compat

import (
	"net/http"

	"github.com/containers/podman/v2/pkg/api/handlers"
	"github.com/containers/podman/v2/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,
	}})
}