{"action":"closed","issue":{"url":"https://api.github.com/repos/giantswarm/cli/issues/540","labels_url":"https://api.github.com/repos/giantswarm/cli/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/giantswarm/cli/issues/540/comments","events_url":"https://api.github.com/repos/giantswarm/cli/issues/540/events","html_url":"https://github.com/giantswarm/cli/issues/540","id":123468368,"number":540,"title":"Print out rendered `swarm.json` on error of `swarm update`","user":{"login":"webwurst","id":225698,"avatar_url":"https://avatars.githubusercontent.com/u/225698?v=3","gravatar_id":"","url":"https://api.github.com/users/webwurst","html_url":"https://github.com/webwurst","followers_url":"https://api.github.com/users/webwurst/followers","following_url":"https://api.github.com/users/webwurst/following{/other_user}","gists_url":"https://api.github.com/users/webwurst/gists{/gist_id}","starred_url":"https://api.github.com/users/webwurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webwurst/subscriptions","organizations_url":"https://api.github.com/users/webwurst/orgs","repos_url":"https://api.github.com/users/webwurst/repos","events_url":"https://api.github.com/users/webwurst/events{/privacy}","received_events_url":"https://api.github.com/users/webwurst/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/giantswarm/cli/labels/0%20-%20status/inbox","name":"0 - status/inbox","color":"e6e6e6"},{"url":"https://api.github.com/repos/giantswarm/cli/labels/area/service-definition","name":"area/service-definition","color":"fdae61"},{"url":"https://api.github.com/repos/giantswarm/cli/labels/command/update","name":"command/update","color":"82611c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-22T11:57:33Z","updated_at":"2015-12-29T09:00:11Z","closed_at":"2015-12-29T09:00:11Z","body":"We saw this error today:\r\n```\r\ninvalid service definition: invalid format for domains: Port must be a number, got '[...]': strconv.ParseInt: parsing \"[...]\": invalid syntax\r\n```\r\nThe corresponding `swarm.json` looked fine though contained some `$VARIABLES`.\r\n\r\nIt would be cool if `swarm --debug update` prints out the rendered current and new definitions to make debugging easier."}}