We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfd7dd8 commit a907cb0Copy full SHA for a907cb0
src/hyperpod_cli/commands/job.py
@@ -1144,4 +1144,7 @@ def get_user_name():
1144
# label value does not allow slash
1145
user_name = user_name.replace('/', '-')
1146
# 63 is the max length for a Kubernetes label
1147
- return user_name[:63]
+ if len(user_name) > 63:
1148
+ # Add dots in the end to indicate the username is trimmed
1149
+ return user_name[:60] + '...'
1150
+ return user_name
0 commit comments