{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/chamber/issues/86","repository_url":"https://api.github.com/repos/segmentio/chamber","labels_url":"https://api.github.com/repos/segmentio/chamber/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/chamber/issues/86/comments","events_url":"https://api.github.com/repos/segmentio/chamber/issues/86/events","html_url":"https://github.com/segmentio/chamber/issues/86","id":317630447,"node_id":"MDU6SXNzdWUzMTc2MzA0NDc=","number":86,"title":"Reading versions of secrets greater than v50 but less than current version fails","user":{"login":"amasare","id":10206870,"node_id":"MDQ6VXNlcjEwMjA2ODcw","avatar_url":"https://avatars2.githubusercontent.com/u/10206870?v=4","gravatar_id":"","url":"https://api.github.com/users/amasare","html_url":"https://github.com/amasare","followers_url":"https://api.github.com/users/amasare/followers","following_url":"https://api.github.com/users/amasare/following{/other_user}","gists_url":"https://api.github.com/users/amasare/gists{/gist_id}","starred_url":"https://api.github.com/users/amasare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amasare/subscriptions","organizations_url":"https://api.github.com/users/amasare/orgs","repos_url":"https://api.github.com/users/amasare/repos","events_url":"https://api.github.com/users/amasare/events{/privacy}","received_events_url":"https://api.github.com/users/amasare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T13:34:03Z","updated_at":"2018-10-13T20:19:45Z","closed_at":null,"author_association":"NONE","body":"A `chamber read my_service my_secret -v 56` of a secret named `my_secret` with current version as version 56 will give the current secret, but a `chamber read my_service my_secret -v 50<version_number<current` of any versions of the secret between v51 and current returns `Error: Failed to read: secret not found`.\r\n\r\nFor eg `chamber read my_service my_secret -v 55` or `chamber read my_service my_secret -v 54` or `chamber read my_service my_secret -v 53` or `chamber read my_service my_secret -v 52` or or `chamber read my_service my_secret -v 51` fails.\r\n\r\nA `chamber read my_service my_secret -v 50` and version numbers below 50 returns values correctly."},"comment":{"url":"https://api.github.com/repos/segmentio/chamber/issues/comments/429572162","html_url":"https://github.com/segmentio/chamber/issues/86#issuecomment-429572162","issue_url":"https://api.github.com/repos/segmentio/chamber/issues/86","id":429572162,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTU3MjE2Mg==","user":{"login":"mechanical-fish","id":10209619,"node_id":"MDQ6VXNlcjEwMjA5NjE5","avatar_url":"https://avatars3.githubusercontent.com/u/10209619?v=4","gravatar_id":"","url":"https://api.github.com/users/mechanical-fish","html_url":"https://github.com/mechanical-fish","followers_url":"https://api.github.com/users/mechanical-fish/followers","following_url":"https://api.github.com/users/mechanical-fish/following{/other_user}","gists_url":"https://api.github.com/users/mechanical-fish/gists{/gist_id}","starred_url":"https://api.github.com/users/mechanical-fish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mechanical-fish/subscriptions","organizations_url":"https://api.github.com/users/mechanical-fish/orgs","repos_url":"https://api.github.com/users/mechanical-fish/repos","events_url":"https://api.github.com/users/mechanical-fish/events{/privacy}","received_events_url":"https://api.github.com/users/mechanical-fish/received_events","type":"User","site_admin":false},"created_at":"2018-10-13T20:19:45Z","updated_at":"2018-10-13T20:19:45Z","author_association":"NONE","body":"I can replicate this entertaining bug. Will spend a few minutes trying to learn Go debugging well enough to figure this one out!"}}
{"actor":{"display_login":"mechanical-fish"}}