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, 2 insertions, 0 deletions
diff --git a/pkg/api/server/register_system.go b/pkg/api/server/register_system.go
index 188c1cdac..4776692f5 100644
--- a/pkg/api/server/register_system.go
+++ b/pkg/api/server/register_system.go
@@ -9,5 +9,7 @@ import (
func (s *APIServer) registerSystemHandlers(r *mux.Router) error {
r.Handle(VersionedPath("/system/df"), s.APIHandler(generic.GetDiskUsage)).Methods(http.MethodGet)
+ // Added non version path to URI to support docker non versioned paths
+ r.Handle("/system/df", s.APIHandler(generic.GetDiskUsage)).Methods(http.MethodGet)
return nil
}