Skip to content

Commit da401cf

Browse files
committed
add comments to getMasterName in fluid/pkg/ddc/alluxio/utils.go
1 parent ccd52dc commit da401cf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pkg/ddc/alluxio/utils.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ func (e *AlluxioEngine) getMasterPodInfo() (podName string, containerName string
111111

112112
return
113113
}
114-
114+
// getMasterName returns the name of the Alluxio master StatefulSet.
115+
// It constructs the name by appending "-master" to the engine's base name.
116+
// This name is used to identify the master StatefulSet resource in Kubernetes.
115117
func (e *AlluxioEngine) getMasterName() (dsName string) {
116118
return e.name + "-master"
117119
}

0 commit comments

Comments
 (0)