{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/docker-client/issues/507","repository_url":"https://api.github.com/repos/spotify/docker-client","labels_url":"https://api.github.com/repos/spotify/docker-client/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/spotify/docker-client/issues/507/comments","events_url":"https://api.github.com/repos/spotify/docker-client/issues/507/events","html_url":"https://github.com/spotify/docker-client/issues/507","id":179620767,"number":507,"title":"change in DockerException message between docker 1.10.3 and 1.12.1","user":{"login":"jjohnstn","id":1216877,"avatar_url":"https://avatars.githubusercontent.com/u/1216877?v=3","gravatar_id":"","url":"https://api.github.com/users/jjohnstn","html_url":"https://github.com/jjohnstn","followers_url":"https://api.github.com/users/jjohnstn/followers","following_url":"https://api.github.com/users/jjohnstn/following{/other_user}","gists_url":"https://api.github.com/users/jjohnstn/gists{/gist_id}","starred_url":"https://api.github.com/users/jjohnstn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjohnstn/subscriptions","organizations_url":"https://api.github.com/users/jjohnstn/orgs","repos_url":"https://api.github.com/users/jjohnstn/repos","events_url":"https://api.github.com/users/jjohnstn/events{/privacy}","received_events_url":"https://api.github.com/users/jjohnstn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T21:36:12Z","updated_at":"2016-09-28T01:24:53Z","closed_at":null,"body":"## Description\r\n\r\nThe Linux Tools project which ships the docker-client as part of its Docker Tooling plug-ins has a user scenario where an attempt is made to tag an image with an upper-case repo.  Using 1.10.3, a DockerException is thrown which has the following getMessage() response:\r\n\r\ninvalid reference format: repository name must be lowercase\r\n\r\nThis is fine.  When the same scenario and plug-ins are used with upstream docker 1.12.1, the message comes back as:\r\n\r\n{'message' : 'invalid reference format: repository name must be lowercase'}\r\n\r\nIs this a bug with the upstream daemon or has the message format changed and docker-client/Docker Tooling is not prepared for it?\r\n\r\n## How to reproduce\r\n\r\nTry and tag an image with FEDORA:myFEDORA.\r\nCatch the exception and display e.getMessage().\r\n\r\n## What do you expect\r\n\r\nSee description.\r\n\r\n## What happened instead\r\n\r\nSee description.\r\n\r\n## Software:\r\n\r\n- `docker version`:  1.12.1\r\n- Spotify's docker-client version: 4.0.6\r\n\r\n## Full backtrace\r\n\r\n```text\r\n[Paste full backtrace here]\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spotify/docker-client/issues/comments/250047193","html_url":"https://github.com/spotify/docker-client/issues/507#issuecomment-250047193","issue_url":"https://api.github.com/repos/spotify/docker-client/issues/507","id":250047193,"user":{"login":"johnflavin","id":1417503,"avatar_url":"https://avatars.githubusercontent.com/u/1417503?v=3","gravatar_id":"","url":"https://api.github.com/users/johnflavin","html_url":"https://github.com/johnflavin","followers_url":"https://api.github.com/users/johnflavin/followers","following_url":"https://api.github.com/users/johnflavin/following{/other_user}","gists_url":"https://api.github.com/users/johnflavin/gists{/gist_id}","starred_url":"https://api.github.com/users/johnflavin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnflavin/subscriptions","organizations_url":"https://api.github.com/users/johnflavin/orgs","repos_url":"https://api.github.com/users/johnflavin/repos","events_url":"https://api.github.com/users/johnflavin/events{/privacy}","received_events_url":"https://api.github.com/users/johnflavin/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T01:24:53Z","updated_at":"2016-09-28T01:24:53Z","body":"This is a new behavior in Docker 1.12.0 and up, introduced in docker/docker#22880. `docker-client` has not yet been updated to correctly process the JSON error messages."}}
{"actor":{"display_login":"johnflavin"}}