Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken builds against Go 1.6 and 1.7 #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

freeekanayaka
Copy link

Avoid using sort.Slice when building against Go 1.6 or 1.7, instead
using the older sort.Sort interface. Fixes #59.

Avoid using sort.Slice when building against Go 1.6 or 1.7, instead
using the older sort.Sort interface.

Signed-off-by: Free Ekanayaka <free.ekanayaka@canonical.com>
@freeekanayaka freeekanayaka force-pushed the go-1.6-and-1.7-compatibility branch from d114cb8 to 1ab04fd Compare August 19, 2017 11:50
@freeekanayaka
Copy link
Author

Hello,

was this PR considered for merging?

I think it's a trivial fix that makes github.com/hashicorp/raft buildable again with Go 1.6, which regressed due to this go-metrics issue (I have an app that requires to be buildable with Go 1.6 and that depends on hashicorp's raft, and hence on go-metrics).

Tahnks

@JelteF
Copy link

JelteF commented Oct 23, 2017

Could this be reviewed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants