From 9cab0d93f588da554f0111eb0c72927faeea48c9 Mon Sep 17 00:00:00 2001 From: Jerry <231220060@smail.nju.edu.cn> Date: Sat, 30 May 2026 15:17:23 +0800 Subject: [PATCH] Add comment for GetPersistentVolumeName in pkg/ddc/base/pv.go Signed-off-by: Jerry <231220060@smail.nju.edu.cn> --- pkg/ddc/base/pv.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/ddc/base/pv.go b/pkg/ddc/base/pv.go index 244bc3f1809..7a9922b1818 100644 --- a/pkg/ddc/base/pv.go +++ b/pkg/ddc/base/pv.go @@ -18,6 +18,9 @@ package base import "fmt" +// GetPersistentVolumeName returns the name of the PersistentVolume (PV) associated with the +// runtime info. The PV name is formatted as "-", which is constructed from +// the namespace and name of the current RuntimeInfo. func (info *RuntimeInfo) GetPersistentVolumeName() string { pvName := fmt.Sprintf("%s-%s", info.GetNamespace(), info.GetName())