Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pkg/ddc/goosefs/deprecated_label.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ import (
apierrs "k8s.io/apimachinery/pkg/api/errors"
)

// HasDeprecatedCommonLabelname checks whether the deprecated common label name exists.
// This method retrieves the DaemonSet's NodeSelector and determines if it contains the deprecated label name.
//
// Returns:
//
// deprecated: true if the deprecated common label name exists, otherwise false.
// err: error information if any error occurs during execution.
func (e *GooseFSEngine) HasDeprecatedCommonLabelname() (deprecated bool, err error) {

// return deprecated.LabelAnnotationStorageCapacityPrefix + e.namespace + "-" + e.name
Expand Down
Loading