summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_system.go
blob: 73f0fb470caacd7d0ea0310c7155359691cc0949 (plain)
1
2
3
4
5
6
7
8
9
10
11
package server

import (
	"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))
	return nil
}