Skip to content

Commit

Permalink
Merge pull request #219 from uber/fix_travis_versions
Browse files Browse the repository at this point in the history
Change travis versions
  • Loading branch information
jcorbin committed Jun 14, 2018
2 parents 7288172 + c45dfed commit 4d64383
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: go
go:
- 1.7.x
- 1.8.x
- stable

addons:
apt:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export PATH := $(GOPATH)/bin:$(PATH)


# Automatically gather packages
PKGS = $(shell find . -type d -maxdepth 3 \
PKGS = $(shell find . -maxdepth 3 -type d \
! -path '*/.git*' \
! -path '*/_*' \
! -path '*/vendor*' \
Expand Down Expand Up @@ -55,7 +55,7 @@ dev_deps:
./scripts/go-get-version.sh github.com/vektra/mockery/.../@130a05e

setup: dev_deps
glide install --cache
glide install
@if ! which thrift | grep -q /; then \
echo "thrift not in PATH. (brew install thrift?)" >&2; \
exit 1; \
Expand Down
4 changes: 2 additions & 2 deletions ringpop.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (rp *Ringpop) startTimers() {
ticker := rp.clock.Ticker(rp.config.MembershipChecksumStatPeriod)
rp.tickers <- ticker
go func() {
for _ = range ticker.C {
for range ticker.C {
rp.statter.UpdateGauge(
rp.getStatKey("membership.checksum-periodic"),
nil,
Expand All @@ -243,7 +243,7 @@ func (rp *Ringpop) startTimers() {
ticker := rp.clock.Ticker(rp.config.RingChecksumStatPeriod)
rp.tickers <- ticker
go func() {
for _ = range ticker.C {
for range ticker.C {
rp.statter.UpdateGauge(
rp.getStatKey("ring.checksum-periodic"),
nil,
Expand Down

0 comments on commit 4d64383

Please sign in to comment.