diff options
Diffstat (limited to 'pkg/api/server/register_system.go')
-rw-r--r-- | pkg/api/server/register_system.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/api/server/register_system.go b/pkg/api/server/register_system.go index 73f0fb470..188c1cdac 100644 --- a/pkg/api/server/register_system.go +++ b/pkg/api/server/register_system.go @@ -1,11 +1,13 @@ package server import ( + "net/http" + "github.com/containers/libpod/pkg/api/handlers/generic" "github.com/gorilla/mux" ) func (s *APIServer) registerSystemHandlers(r *mux.Router) error { - r.Handle(VersionedPath("/system/df"), s.APIHandler(generic.GetDiskUsage)) + r.Handle(VersionedPath("/system/df"), s.APIHandler(generic.GetDiskUsage)).Methods(http.MethodGet) return nil } |