{"action":"created","issue":{"url":"https://api.github.com/repos/docker/go-dockercloud/issues/12","repository_url":"https://api.github.com/repos/docker/go-dockercloud","labels_url":"https://api.github.com/repos/docker/go-dockercloud/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/docker/go-dockercloud/issues/12/comments","events_url":"https://api.github.com/repos/docker/go-dockercloud/issues/12/events","html_url":"https://github.com/docker/go-dockercloud/issues/12","id":142835937,"number":12,"title":"GetService json unmarshall error","user":{"login":"justinkelly","id":249520,"avatar_url":"https://avatars.githubusercontent.com/u/249520?v=3","gravatar_id":"","url":"https://api.github.com/users/justinkelly","html_url":"https://github.com/justinkelly","followers_url":"https://api.github.com/users/justinkelly/followers","following_url":"https://api.github.com/users/justinkelly/following{/other_user}","gists_url":"https://api.github.com/users/justinkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/justinkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinkelly/subscriptions","organizations_url":"https://api.github.com/users/justinkelly/orgs","repos_url":"https://api.github.com/users/justinkelly/repos","events_url":"https://api.github.com/users/justinkelly/events{/privacy}","received_events_url":"https://api.github.com/users/justinkelly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"MaximeHeckel","id":2974412,"avatar_url":"https://avatars.githubusercontent.com/u/2974412?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximeHeckel","html_url":"https://github.com/MaximeHeckel","followers_url":"https://api.github.com/users/MaximeHeckel/followers","following_url":"https://api.github.com/users/MaximeHeckel/following{/other_user}","gists_url":"https://api.github.com/users/MaximeHeckel/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximeHeckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximeHeckel/subscriptions","organizations_url":"https://api.github.com/users/MaximeHeckel/orgs","repos_url":"https://api.github.com/users/MaximeHeckel/repos","events_url":"https://api.github.com/users/MaximeHeckel/events{/privacy}","received_events_url":"https://api.github.com/users/MaximeHeckel/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-23T02:02:26Z","updated_at":"2016-03-28T08:49:02Z","closed_at":null,"body":"Hi DockerCloud Go crew,\r\n\r\nIf I follow the GetService example in the docs \r\nhttps://docs.docker.com/apidocs/docker-cloud/?go#get-the-logs-of-a-service\r\n\r\n```\r\nimport \"github.com/docker/go-dockercloud/dockercloud\"\r\n\r\nservice, err := dockercloud.GetService(\"7eaf7fff-882c-4f3d-9a8f-a22317ac00ce\")\r\n\r\nif err != nil {\r\n  log.Println(err)\r\n}\r\n\r\nif err = service.Update(dockercloud.ServiceCreateRequest{Target_num_containers: 3}); err != nil {\r\n   log.Println(err)\r\n}\r\n```\r\nand replace the uuid with one of my service uuid I get teh following error when i run the code\r\n\r\n```\r\njson: cannot unmarshal number into Go value of type string\r\n```\r\n\r\nAny help with this would be greatly appreciated!!!!\r\n\r\ncheers\r\n\r\njustin"},"comment":{"url":"https://api.github.com/repos/docker/go-dockercloud/issues/comments/202307130","html_url":"https://github.com/docker/go-dockercloud/issues/12#issuecomment-202307130","issue_url":"https://api.github.com/repos/docker/go-dockercloud/issues/12","id":202307130,"user":{"login":"MaximeHeckel","id":2974412,"avatar_url":"https://avatars.githubusercontent.com/u/2974412?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximeHeckel","html_url":"https://github.com/MaximeHeckel","followers_url":"https://api.github.com/users/MaximeHeckel/followers","following_url":"https://api.github.com/users/MaximeHeckel/following{/other_user}","gists_url":"https://api.github.com/users/MaximeHeckel/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximeHeckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximeHeckel/subscriptions","organizations_url":"https://api.github.com/users/MaximeHeckel/orgs","repos_url":"https://api.github.com/users/MaximeHeckel/repos","events_url":"https://api.github.com/users/MaximeHeckel/events{/privacy}","received_events_url":"https://api.github.com/users/MaximeHeckel/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T08:49:02Z","updated_at":"2016-03-28T08:49:02Z","body":"Hi @justinkelly I'll take a look at it right now"}}