diff --git a/commands/register.go b/commands/register.go index 0d8fe81128df99b4ea4d1937c3d5300477b97975..438a291ae71b7d899e302bb647359bb9c2b498bd 100644 --- a/commands/register.go +++ b/commands/register.go @@ -232,10 +232,7 @@ func (s *RegisterCommand) addRunner(runner *common.RunnerConfig) { } func (s *RegisterCommand) askRunner() { - s.URL = s.ask("url", "Enter the GitLab instance URL [https://gitlab.com/]:", true) - if s.URL == "" { - s.URL = "https://gitlab.com/" - } + s.URL = s.ask("url", "Enter the GitLab instance URL (for example, https://gitlab.com/):") if s.Token != "" { logrus.Infoln("Token specified trying to verify runner...")