-
Notifications
You must be signed in to change notification settings - Fork 1.3k
This PR is to add comments to getMasterName in fluid/pkg/ddc/alluxio/utils.go #6088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -111,7 +111,9 @@ func (e *AlluxioEngine) getMasterPodInfo() (podName string, containerName string | |
|
|
||
| return | ||
| } | ||
|
|
||
| // getMasterName returns the name of the Alluxio master StatefulSet. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The previous blank line between |
||
| // It constructs the name by appending "-master" to the engine's base name. | ||
| // This name is used to identify the master StatefulSet resource in Kubernetes. | ||
| func (e *AlluxioEngine) getMasterName() (dsName string) { | ||
| return e.name + "-master" | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To adhere to standard Go formatting and improve readability, there should be a blank line between the previous function's closing brace and this new comment block.