Skip to content

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 <[email protected]>
@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