diff --git a/pkg/ddc/base/runtime.go b/pkg/ddc/base/runtime.go index 2704606a728..e9852aab8d1 100644 --- a/pkg/ddc/base/runtime.go +++ b/pkg/ddc/base/runtime.go @@ -311,7 +311,9 @@ func WithTieredStore(tieredStore datav1alpha1.TieredStore) RuntimeInfoOption { return nil } } - +// GetTieredStoreInfo returns the TieredStoreInfo associated with the RuntimeInfo. +// The info is pre-converted from datav1alpha1.TieredStore for convenience (e.g., structured quotas). +// If no levels are defined, the Levels slice in the returned struct will be nil. func (info *RuntimeInfo) GetTieredStoreInfo() TieredStoreInfo { return info.tieredstoreInfo }