aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/system.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/handlers/compat/system.go')
-rw-r--r--pkg/api/handlers/compat/system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/system.go b/pkg/api/handlers/compat/system.go
index 97bc9eac2..23f116d16 100644
--- a/pkg/api/handlers/compat/system.go
+++ b/pkg/api/handlers/compat/system.go
@@ -76,7 +76,7 @@ func GetDiskUsage(w http.ResponseWriter, r *http.Request) {
Scope: "local",
Status: nil,
UsageData: &docker.VolumeUsageData{
- RefCount: 1,
+ RefCount: int64(o.Links),
Size: o.Size,
},
}