Skip to content
Open
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
2 changes: 2 additions & 0 deletions pkg/ddc/alluxio/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ func (e *AlluxioEngine) getRuntime() (*datav1alpha1.AlluxioRuntime, error) {
return &runtime, nil
}

// getMasterPod retrieves the Alluxio master pod with the specified name and namespace.
// It returns the pod and any error encountered while querying the Kubernetes API.
func (e *AlluxioEngine) getMasterPod(name string, namespace string) (pod *v1.Pod, err error) {
pod = &v1.Pod{}
err = e.Client.Get(context.TODO(), types.NamespacedName{
Expand Down
Loading