{"comment":{"url":"https://api.github.com/repos/wvanbergen/kazoo/comments/13520721","html_url":"https://github.com/wvanbergen/kazoo/commit/36f6e057ab68a12c86a09d531f3ef40ee56eb6f9#commitcomment-13520721","id":13520721,"user":{"login":"eapache","id":1706826,"avatar_url":"https://avatars.githubusercontent.com/u/1706826?v=3","gravatar_id":"","url":"https://api.github.com/users/eapache","html_url":"https://github.com/eapache","followers_url":"https://api.github.com/users/eapache/followers","following_url":"https://api.github.com/users/eapache/following{/other_user}","gists_url":"https://api.github.com/users/eapache/gists{/gist_id}","starred_url":"https://api.github.com/users/eapache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eapache/subscriptions","organizations_url":"https://api.github.com/users/eapache/orgs","repos_url":"https://api.github.com/users/eapache/repos","events_url":"https://api.github.com/users/eapache/events{/privacy}","received_events_url":"https://api.github.com/users/eapache/received_events","type":"User","site_admin":false},"position":54,"line":54,"path":"lib/kazoo/replica_assigner.rb","commit_id":"36f6e057ab68a12c86a09d531f3ef40ee56eb6f9","created_at":"2015-09-30T15:20:40Z","updated_at":"2015-09-30T15:20:40Z","body":"deleting the leader from a copy of `@broker_replicas` and then using that seems like it might be simpler than trying to build \"if it's the leader, put it at the end\" logic into your sort"}}