From 5c3701e32139c9a7dd7a9bcac08296a70fe17305 Mon Sep 17 00:00:00 2001 From: Vladislav Vlastovskiy Date: Fri, 28 Oct 2016 00:53:38 +0300 Subject: [PATCH 1/2] Fix missed placeholder in log message --- drone/agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drone/agent/agent.go b/drone/agent/agent.go index 373254081..65dc8f94e 100644 --- a/drone/agent/agent.go +++ b/drone/agent/agent.go @@ -224,7 +224,7 @@ func start(c *cli.Context) { // initialize the stomp session and authenticate. 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) continue } From ba5f1d5154dbe84bbaa41b860b943f6f0622ae68 Mon Sep 17 00:00:00 2001 From: Vladislav Vlastovskiy Date: Fri, 28 Oct 2016 00:57:41 +0300 Subject: [PATCH 2/2] Add space in log message --- drone/agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drone/agent/agent.go b/drone/agent/agent.go index 65dc8f94e..99a010cd1 100644 --- a/drone/agent/agent.go +++ b/drone/agent/agent.go @@ -165,7 +165,7 @@ func start(c *cli.Context) { 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"), "/")