{"action":"created","issue":{"url":"https://api.github.com/repos/flike/kingshard/issues/170","repository_url":"https://api.github.com/repos/flike/kingshard","labels_url":"https://api.github.com/repos/flike/kingshard/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/flike/kingshard/issues/170/comments","events_url":"https://api.github.com/repos/flike/kingshard/issues/170/events","html_url":"https://github.com/flike/kingshard/issues/170","id":155905820,"number":170,"title":"method to get current running kingshard version?","user":{"login":"martianzhang","id":1827047,"avatar_url":"https://avatars.githubusercontent.com/u/1827047?v=3","gravatar_id":"","url":"https://api.github.com/users/martianzhang","html_url":"https://github.com/martianzhang","followers_url":"https://api.github.com/users/martianzhang/followers","following_url":"https://api.github.com/users/martianzhang/following{/other_user}","gists_url":"https://api.github.com/users/martianzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/martianzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martianzhang/subscriptions","organizations_url":"https://api.github.com/users/martianzhang/orgs","repos_url":"https://api.github.com/users/martianzhang/repos","events_url":"https://api.github.com/users/martianzhang/events{/privacy}","received_events_url":"https://api.github.com/users/martianzhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-20T07:58:03Z","updated_at":"2016-05-21T06:00:16Z","closed_at":null,"body":"Now we can get kingshard version use `./kingshard -v` to get binary file version.\r\nBut how can we get current running kingshard process version, especially when we have replaced the binary find when we update kingshard?"},"comment":{"url":"https://api.github.com/repos/flike/kingshard/issues/comments/220760814","html_url":"https://github.com/flike/kingshard/issues/170#issuecomment-220760814","issue_url":"https://api.github.com/repos/flike/kingshard/issues/170","id":220760814,"user":{"login":"martianzhang","id":1827047,"avatar_url":"https://avatars.githubusercontent.com/u/1827047?v=3","gravatar_id":"","url":"https://api.github.com/users/martianzhang","html_url":"https://github.com/martianzhang","followers_url":"https://api.github.com/users/martianzhang/followers","following_url":"https://api.github.com/users/martianzhang/following{/other_user}","gists_url":"https://api.github.com/users/martianzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/martianzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martianzhang/subscriptions","organizations_url":"https://api.github.com/users/martianzhang/orgs","repos_url":"https://api.github.com/users/martianzhang/repos","events_url":"https://api.github.com/users/martianzhang/events{/privacy}","received_events_url":"https://api.github.com/users/martianzhang/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T06:00:15Z","updated_at":"2016-05-21T06:00:15Z","body":"If the binary file was removed or replace with another version. `./kingshard -v` will get wrong version.\r\nAdd a admin command like `admin version` may be safe way to check current version."}}
{"actor":{"display_login":"martianzhang"}}