From 6d71f63ce079b04084ab402b023bd124cf348d48 Mon Sep 17 00:00:00 2001 From: dahuang Date: Wed, 21 Feb 2024 01:30:06 -0700 Subject: [PATCH] fixup! add check for shared volumes in getVolumeStats (#2419) Signed-off-by: dahuang --- api/api.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/api.go b/api/api.go index dfef1c5a5..9cfc860d3 100644 --- a/api/api.go +++ b/api/api.go @@ -1491,3 +1491,8 @@ func (s *ProxySpec) GetPureFullVolumeName() string { return "" } + +const ( + // SharedVolExportPrefix is the export path where shared volumes are mounted + SharedVolExportPrefix = "/var/lib/osd/pxns" +)