From 21430d2ecdf1e970d4f6beaa972d8d1f674b12cd Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 14 Aug 2016 12:25:45 +0800 Subject: [PATCH] fix go coding style by gofmt. Signed-off-by: Bo-Yi Wu --- Dockerfile | 2 +- drone/agent/agent.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba686be2..da98c98f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# docker build --rm=true -t drone/drone . +# docker build --rm -t drone/drone . FROM centurylink/ca-certs EXPOSE 8000 diff --git a/drone/agent/agent.go b/drone/agent/agent.go index 9de66571..48f1657f 100644 --- a/drone/agent/agent.go +++ b/drone/agent/agent.go @@ -158,7 +158,7 @@ func start(c *cli.Context) { ) client := client.NewClientToken( - strings.TrimRight(c.String("drone-server"),"/"), + strings.TrimRight(c.String("drone-server"), "/"), accessToken, )