-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Changing the prefix of the service id #579
Conversation
LGTM |
@@ -1146,7 +1146,7 @@ func (sc *ServiceCheck) Hash(serviceId string) string { | |||
} | |||
|
|||
const ( | |||
NomadConsulPrefix = "nomad" | |||
NomadConsulPrefix = "1729nomad" |
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.
Does it have to be a number? Why not: [nomad-registered-service]
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.
or n0m4d
;D Honestly, that's a minor detail to me, as long as it does not easily clash with users's service IDs I'm ok with whatever prefix.
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.
Yeah I don't care much either. Fixing a test, might as well make it what Alex suggested so that it's more human readable.
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.
👍
Changing the prefix of the service id
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
cc/ @c4milo