summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_system.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/server/register_system.go')
-rw-r--r--pkg/api/server/register_system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_system.go b/pkg/api/server/register_system.go
index f0eaeffd2..73f0fb470 100644
--- a/pkg/api/server/register_system.go
+++ b/pkg/api/server/register_system.go
@@ -6,6 +6,6 @@ import (
)
func (s *APIServer) registerSystemHandlers(r *mux.Router) error {
- r.Handle(VersionedPath("/system/df"), APIHandler(s.Context, generic.GetDiskUsage))
+ r.Handle(VersionedPath("/system/df"), s.APIHandler(generic.GetDiskUsage))
return nil
}