You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
in gebug init, the first title say: Application Name, but here wants a docker image name instead.
I enter this in the init process:
Application Name: goRest
[...] // ...and the others fields
And i give an unexpected error:
$ gebug start
ERROR: Service 'gebug-goRest' contains uppercase characters which are not valid as part of an image name. Either use a lowercase service name or use the image field to set a custom name for the service image.
Solution
To change Application Name to Docker image name (or similar)
The text was updated successfully, but these errors were encountered:
Thanks for the detailed issue @lucas-gio!
You are right, we should handle those names as well.
But, I'm not sure if exposing them as docker image name will be the correct solution as it's only an implementation detail and should not bother as user (also, it will be prefixed and with 'gebug-' so it might be also misleading)
I think we can sanitize the input (e.g. convert the Upper case letters to lower case) for the image name but keep the application/service name as the user request. WDYT?
Thanks for the detailed issue @lucas-gio <https://github.com/lucas-gio>!
You are right, we should handle those names as well.
But, I'm not sure if exposing them as docker image name will be the
correct solution as it's only an implementation detail and should not
bother as user (also, it will be prefixed and with 'gebug-' so it
might be also misleading)
I think we can sanitize the input (e.g. convert the Upper case letters
to lower case) for the image name but keep the application/service
name as the user request. WDYT?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#107 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHDAO6RBR7HASDPEM2F7AIDTBHJUDANCNFSM4YKQPEZA>.
Problem
in gebug init, the first title say: Application Name, but here wants a docker image name instead.
I enter this in the init process:
Application Name: goRest
[...] // ...and the others fields
And i give an unexpected error:
$ gebug start
ERROR: Service 'gebug-goRest' contains uppercase characters which are not valid as part of an image name. Either use a lowercase service name or use the
image
field to set a custom name for the service image.Solution
To change Application Name to Docker image name (or similar)
The text was updated successfully, but these errors were encountered: