summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_system.go
blob: f0eaeffd21bb415907f0dbf03c4d62fce61a70d1 (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"), APIHandler(s.Context, generic.GetDiskUsage))
	return nil
}