wget and install go1.5.1 on machine
This commit is contained in:
parent
2dd3eee58e
commit
52be516fa3
|
@ -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"
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue