Skip to content

Commit e890849

Browse files
author
Matthew Fisher
committed
Merge pull request #2032 from bacongobbler/gofmt
style(publisher): go fmt
2 parents 1874823 + 7d5b623 commit e890849

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

publisher/publisher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func getopt(name, dfault string) string {
2727

2828
func main() {
2929
endpoint := getopt("DOCKER_HOST", "unix:///var/run/docker.sock")
30-
etcdHost := getopt("ETCD_HOST", "127.0.0.1")
30+
etcdHost := getopt("ETCD_HOST", "127.0.0.1")
3131

3232
client, err := docker.NewClient(endpoint)
3333
if err != nil {

router/tests/router_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func TestRouter(t *testing.T) {
5757
time.Sleep(5000 * time.Millisecond)
5858
dockercli.DeisServiceTest(t, name, port, "http")
5959
etcdutils.VerifyEtcdValue(t, "/deis/router/gzip", "on", etcdPort)
60-
routerKeyPrefix := "/deis/router/"+host
60+
routerKeyPrefix := "/deis/router/" + host
6161
etcdutils.VerifyEtcdValue(t, routerKeyPrefix+"/host", host, etcdPort)
6262
etcdutils.VerifyEtcdValue(t, routerKeyPrefix+"/port", port, etcdPort)
6363
_ = cli.CmdRm("-f", name)

0 commit comments

Comments
 (0)