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())