We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 579814c commit bebe245Copy full SHA for bebe245
1 file changed
pkg/ddc/goosefs/deprecated_label.go
@@ -21,6 +21,13 @@ import (
21
apierrs "k8s.io/apimachinery/pkg/api/errors"
22
)
23
24
+// HasDeprecatedCommonLabelname checks whether the deprecated common label name exists.
25
+// This method retrieves the DaemonSet's NodeSelector and determines if it contains the deprecated label name.
26
+//
27
+// Returns:
28
29
+// deprecated: true if the deprecated common label name exists, otherwise false.
30
+// err: error information if any error occurs during execution.
31
func (e *GooseFSEngine) HasDeprecatedCommonLabelname() (deprecated bool, err error) {
32
33
// return deprecated.LabelAnnotationStorageCapacityPrefix + e.namespace + "-" + e.name
0 commit comments