Skip to content

Commit c344236

Browse files
This PR is to add comments to GetCommonLabelName in fluid/pkg/ddc/base/validate_test.go. (#5817)
* Add comments to GetCommonLabelName in fluid/pkg/ddc/base/validate_test.go. Signed-off-by: mt <599155198@qq.com> * Add comments to GetCommonLabelName in fluid/pkg/ddc/base/validate_test.go. Signed-off-by: mt <599155198@qq.com> * Add comments to GetCommonLabelName in fluid/pkg/ddc/base/validate_test.go. Signed-off-by: mt <599155198@qq.com> * Add comments to GetCommonLabelName in fluid/pkg/ddc/base/validate_test.go. Signed-off-by: mt <599155198@qq.com> * Add comments to GetCommonLabelName in fluid/pkg/ddc/base/validate_test.go. Signed-off-by: mt <599155198@qq.com> * Add comments to GetCommonLabelName in fluid/pkg/ddc/base/validate_test.go. Signed-off-by: mt <599155198@qq.com> --------- Signed-off-by: mt <599155198@qq.com>
1 parent 6e32451 commit c344236

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

pkg/ddc/base/validate_test.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,12 @@ func (m *mockRuntimeInfoForValidate) GetOwnerDatasetUID() string { return m.owne
8080
func (m *mockRuntimeInfoForValidate) IsPlacementModeSet() bool { return m.placementModeSet }
8181

8282
// Conventions interface methods (stub implementations)
83-
func (m *mockRuntimeInfoForValidate) GetPersistentVolumeName() string { return "" }
84-
func (m *mockRuntimeInfoForValidate) GetLabelNameForMemory() string { return "" }
85-
func (m *mockRuntimeInfoForValidate) GetLabelNameForDisk() string { return "" }
86-
func (m *mockRuntimeInfoForValidate) GetLabelNameForTotal() string { return "" }
83+
func (m *mockRuntimeInfoForValidate) GetPersistentVolumeName() string { return "" }
84+
func (m *mockRuntimeInfoForValidate) GetLabelNameForMemory() string { return "" }
85+
func (m *mockRuntimeInfoForValidate) GetLabelNameForDisk() string { return "" }
86+
func (m *mockRuntimeInfoForValidate) GetLabelNameForTotal() string { return "" }
87+
88+
// GetCommonLabelName returns the common label name.
8789
func (m *mockRuntimeInfoForValidate) GetCommonLabelName() string { return "" }
8890
func (m *mockRuntimeInfoForValidate) GetFuseLabelName() string { return "" }
8991
func (m *mockRuntimeInfoForValidate) GetRuntimeLabelName() string { return "" }

0 commit comments

Comments
 (0)