Unverified Commit d8f6c5c7 authored by Suzanne Selhorn's avatar Suzanne Selhorn Committed by Pedro Pombeiro

Fixed a typo

parent b7405bc0
......@@ -236,7 +236,6 @@ func (s *RegisterCommand) askRunner() {
if s.URL == "" {
s.URL = "https://gitlab.com/"
}
if s.Token != "" {
logrus.Infoln("Token specified trying to verify runner...")
......@@ -249,7 +248,7 @@ func (s *RegisterCommand) askRunner() {
// we store registration token as token, since we pass that to RunnerCredentials
s.Token = s.ask("registration-token", "Enter the registration token:")
s.Name = s.ask("name", "Enter a description for thr runner:")
s.Name = s.ask("name", "Enter a description for the runner:")
s.TagList = s.ask("tag-list", "Enter tags for the runner (comma-separated):", true)
if s.TagList == "" {
......
......@@ -197,7 +197,7 @@ func TestAccessLevelSetting(t *testing.T) {
if testCase.failureExpected {
assert.EqualError(t, err, "command error: Given access-level is not valid. "+
"Please refer to gitlab-runner register -h for the correct options.")
"Refer to gitlab-runner register -h for the correct options.")
assert.NotContains(t, output, "Runner registered successfully.")
return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment