Merge pull request #1835 from vlastv/patch-1

Fix typo
This commit is contained in:
Brad Rydzewski 2016-10-28 00:12:52 +01:00 committed by GitHub
commit fd620bd5e8

View file

@ -165,7 +165,7 @@ func start(c *cli.Context) {
accessToken = c.String("drone-token") accessToken = c.String("drone-token")
} }
logger.Noticef("connecting to server%s", c.String("drone-server")) logger.Noticef("connecting to server %s", c.String("drone-server"))
server := strings.TrimRight(c.String("drone-server"), "/") server := strings.TrimRight(c.String("drone-server"), "/")
@ -224,7 +224,7 @@ func start(c *cli.Context) {
// initialize the stomp session and authenticate. // initialize the stomp session and authenticate.
if err = client.Connect(opts...); err != nil { if err = client.Connect(opts...); err != nil {
logger.Warningf("session failed, retry in %v", backoff, err) logger.Warningf("session failed, retry in %v. %s", backoff, err)
<-time.After(backoff) <-time.After(backoff)
continue continue
} }