Skip to content

Commit

Permalink
wget and install go1.5.1 on machine
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Oct 14, 2015
1 parent 0144df3 commit a69ce57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
machine:
post:
- go version
- go version | grep 1.5.1 || sudo rm -rf /usr/local/go
- wget https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz
- sudo tar -C /usr/local -xzf go1.5.1.linux-amd64.tar.gz
- go version

dependencies:
override:
- echo "Dummy override, so no Circle dependencies execute"
Expand Down
2 changes: 1 addition & 1 deletion outputs/opentsdb/opentsdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (o *OpenTSDB) Write(bp client.BatchPoints) error {
}
_, err := connection.Write([]byte(messageLine))
if err != nil {
fmt.Errorf("OpenTSDB: Telnet writing error %s", err.Error())
return fmt.Errorf("OpenTSDB: Telnet writing error %s", err.Error())
}
}
defer connection.Close()
Expand Down

0 comments on commit a69ce57

Please sign in to comment.