Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
chore: fix context check
Kyle Mendell937b73197598
diff --git a/backend/internal/api/system_handler.go b/backend/internal/api/system_handler.goindex 11a5944dd..b8bc17dd7 100644--- a/backend/internal/api/system_handler.go+++ b/backend/internal/api/system_handler.go@@ -410,7 +410,7 @@ func (h *SystemHandler) Stats(c *gin.Context) {memTotal = memInfo.Total}- diskUsagePath := h.getDiskUsagePath(c.Request.Context())+ diskUsagePath := h.getDiskUsagePath(ctx)diskInfo, err := disk.Usage(diskUsagePath)if err != nil || diskInfo == nil || diskInfo.Total == 0 {if diskUsagePath != "/" {