Skip to content

Commit

Permalink
remove typo
Browse files Browse the repository at this point in the history
Signed-off-by: owenowenisme <mses010108@gmail.com>
  • Loading branch information
owenowenisme committed Feb 13, 2025
1 parent 4b111e4 commit fa0aeaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ray-operator/controllers/ray/utils/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func CheckRouteName(ctx context.Context, s string, n string) string {
// PodName returns the value that should be used for a Pod's Name or GenerateName
// based on the RayCluster name and node type (head or worker).
func PodName(prefix string, nodeType rayv1.RayNodeType, isGenerateName bool) string {
maxPrefixLength := 50 // 63 - ( 8 + 5 ) // 8 char are consumed at the end with "-worker-"" + 5 generated.
maxPrefixLength := 50 // 63 - ( 8 + 5 ) // 8 char are consumed at the end with "-worker-" + 5 generated.

var podPrefix string
if len(prefix) <= maxPrefixLength {
Expand Down

0 comments on commit fa0aeaa

Please sign in to comment.