We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e99841 commit 77b1adbCopy full SHA for 77b1adb
1 file changed
pkg/ddc/base/runtime.go
@@ -458,6 +458,9 @@ func (info *RuntimeInfo) SetAPIReader(apiReader client.Reader) {
458
info.apiReader = apiReader
459
}
460
461
+// convertToTieredstoreInfo converts a TieredStore specification into RuntimeInfo's
462
+// internal TieredStoreInfo representation, normalizing cache paths and quota
463
+// settings for each tier.
464
func convertToTieredstoreInfo(tieredstore datav1alpha1.TieredStore) (TieredStoreInfo, error) {
465
if len(tieredstore.Levels) == 0 {
466
return TieredStoreInfo{}, nil
0 commit comments