Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Web - Open
Gitlab Runner
Commits
3f5cda44
Unverified
Commit
3f5cda44
authored
Oct 23, 2020
by
Pedro Pombeiro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply MR review suggestions
parent
d8f6c5c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
commands/register.go
commands/register.go
+1
-4
No files found.
commands/register.go
View file @
3f5cda44
...
...
@@ -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..."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment