-
-
Notifications
You must be signed in to change notification settings - Fork 752
docs: add omni join token example to create qemu command #12348
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
Conversation
| func addOmniJoinTokenFlag(cmd *cobra.Command, bindAPIEndpoint *string, cfgPatchAllFlagName, cfgPatchWorkersFlagName, cfgPatchCPsFlagName string) { | ||
| cmd.Flags().StringVar(bindAPIEndpoint, omniAPIEndpointFlagName, *bindAPIEndpoint, "the Omni API endpoint (must include a scheme, a port and a join token)") | ||
| cmd.Flags().StringVar(bindAPIEndpoint, omniAPIEndpointFlagName, *bindAPIEndpoint, | ||
| "the Omni API endpoint (must include a scheme, a port and a join token, e.g. 'grpc://omni.com:8090?jointoken=foobar')") |
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.
let's do an example which matches more production Omni
| "the Omni API endpoint (must include a scheme, a port and a join token, e.g. 'grpc://omni.com:8090?jointoken=foobar')") | |
| "the Omni API endpoint (must include a scheme, a port and a join token, e.g. 'https://siderolink.omni.example?jointoken=foobar')") |
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.
Is having no port number more usual?
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.
yep, it should be proper https:// usually.
dbd0ab2 to
f810f62
Compare
f810f62 to
c6519ea
Compare
this will hopefully reduce confusion on what the flag value should look like Signed-off-by: Orzelius <[email protected]>
c6519ea to
fc8ae32
Compare
|
/m |
this will hopefully reduce confusion on what the flag value should look like