{"action":"created","comment":{"url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/comments/54435273","id":54435273,"diff_hunk":"@@ -344,12 +344,12 @@ class DockerThreadContextClassLoader implements ThreadContextClassLoader {\n         enhancer.setSuperclass(delegate.getClass())\n         enhancer.setCallback([\n \n-                invoke: {Object proxy, Method method, Object[] args ->\n-                    if (\"onNext\" == method.name) {\n-                        logger.info(args[0].stream)\n-                    }\n-                    method.invoke(delegate, args)\n+            invoke: {Object proxy, Method method, Object[] args ->\n+                if (\"onNext\" == method.name) {\n+                    logger.quiet(args[0].toString())","path":"src/main/groovy/com/bmuschko/gradle/docker/utils/DockerThreadContextClassLoader.groovy","position":11,"original_position":11,"commit_id":"05f25da7f7bbdbcbd587fd1646198c220d2146bc","original_commit_id":"05f25da7f7bbdbcbd587fd1646198c220d2146bc","user":{"login":"cdancy","id":7871459,"avatar_url":"https://avatars.githubusercontent.com/u/7871459?v=3","gravatar_id":"","url":"https://api.github.com/users/cdancy","html_url":"https://github.com/cdancy","followers_url":"https://api.github.com/users/cdancy/followers","following_url":"https://api.github.com/users/cdancy/following{/other_user}","gists_url":"https://api.github.com/users/cdancy/gists{/gist_id}","starred_url":"https://api.github.com/users/cdancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdancy/subscriptions","organizations_url":"https://api.github.com/users/cdancy/orgs","repos_url":"https://api.github.com/users/cdancy/repos","events_url":"https://api.github.com/users/cdancy/events{/privacy}","received_events_url":"https://api.github.com/users/cdancy/received_events","type":"User","site_admin":false},"body":"Fixed indentation and now using `args[0].toString()` as this is what [BuildImageResultCallback](https://github.com/docker-java/docker-java/blob/master/src/main/java/com/github/dockerjava/core/command/BuildImageResultCallback.java#L32) does. Using the old way (e.g. args[0].stream) caused [StreamCorruptedException](http://stackoverflow.com/questions/23262160/java-io-streamcorruptedexception-invalid-stream-header-54657374) in some cases.","created_at":"2016-02-29T16:28:32Z","updated_at":"2016-02-29T16:28:32Z","html_url":"https://github.com/bmuschko/gradle-docker-plugin/pull/163#discussion_r54435273","pull_request_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/163","_links":{"self":{"href":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/comments/54435273"},"html":{"href":"https://github.com/bmuschko/gradle-docker-plugin/pull/163#discussion_r54435273"},"pull_request":{"href":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/163"}}},"pull_request":{"url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/163","id":60421523,"html_url":"https://github.com/bmuschko/gradle-docker-plugin/pull/163","diff_url":"https://github.com/bmuschko/gradle-docker-plugin/pull/163.diff","patch_url":"https://github.com/bmuschko/gradle-docker-plugin/pull/163.patch","issue_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/163","number":163,"state":"open","locked":false,"title":"Fix for specifying host directory to copy into when resource is a sin…","user":{"login":"cdancy","id":7871459,"avatar_url":"https://avatars.githubusercontent.com/u/7871459?v=3","gravatar_id":"","url":"https://api.github.com/users/cdancy","html_url":"https://github.com/cdancy","followers_url":"https://api.github.com/users/cdancy/followers","following_url":"https://api.github.com/users/cdancy/following{/other_user}","gists_url":"https://api.github.com/users/cdancy/gists{/gist_id}","starred_url":"https://api.github.com/users/cdancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdancy/subscriptions","organizations_url":"https://api.github.com/users/cdancy/orgs","repos_url":"https://api.github.com/users/cdancy/repos","events_url":"https://api.github.com/users/cdancy/events{/privacy}","received_events_url":"https://api.github.com/users/cdancy/received_events","type":"User","site_admin":false},"body":"…gle file","created_at":"2016-02-23T22:28:39Z","updated_at":"2016-02-29T16:28:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48c5b6be5af1753e19c54ca6a89a8574d727e9fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/163/commits","review_comments_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/163/comments","review_comment_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/163/comments","statuses_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/statuses/05f25da7f7bbdbcbd587fd1646198c220d2146bc","head":{"label":"cdancy:copy-file-fix","ref":"copy-file-fix","sha":"05f25da7f7bbdbcbd587fd1646198c220d2146bc","user":{"login":"cdancy","id":7871459,"avatar_url":"https://avatars.githubusercontent.com/u/7871459?v=3","gravatar_id":"","url":"https://api.github.com/users/cdancy","html_url":"https://github.com/cdancy","followers_url":"https://api.github.com/users/cdancy/followers","following_url":"https://api.github.com/users/cdancy/following{/other_user}","gists_url":"https://api.github.com/users/cdancy/gists{/gist_id}","starred_url":"https://api.github.com/users/cdancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdancy/subscriptions","organizations_url":"https://api.github.com/users/cdancy/orgs","repos_url":"https://api.github.com/users/cdancy/repos","events_url":"https://api.github.com/users/cdancy/events{/privacy}","received_events_url":"https://api.github.com/users/cdancy/received_events","type":"User","site_admin":false},"repo":{"id":42660165,"name":"gradle-docker-plugin","full_name":"cdancy/gradle-docker-plugin","owner":{"login":"cdancy","id":7871459,"avatar_url":"https://avatars.githubusercontent.com/u/7871459?v=3","gravatar_id":"","url":"https://api.github.com/users/cdancy","html_url":"https://github.com/cdancy","followers_url":"https://api.github.com/users/cdancy/followers","following_url":"https://api.github.com/users/cdancy/following{/other_user}","gists_url":"https://api.github.com/users/cdancy/gists{/gist_id}","starred_url":"https://api.github.com/users/cdancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdancy/subscriptions","organizations_url":"https://api.github.com/users/cdancy/orgs","repos_url":"https://api.github.com/users/cdancy/repos","events_url":"https://api.github.com/users/cdancy/events{/privacy}","received_events_url":"https://api.github.com/users/cdancy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdancy/gradle-docker-plugin","description":"Gradle plugin for managing Docker images and containers.","fork":true,"url":"https://api.github.com/repos/cdancy/gradle-docker-plugin","forks_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/forks","keys_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/teams","hooks_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/hooks","issue_events_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/events","assignees_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/tags","blobs_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/languages","stargazers_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/stargazers","contributors_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/contributors","subscribers_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/subscribers","subscription_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/subscription","commits_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/merges","archive_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/downloads","issues_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/labels{/name}","releases_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/cdancy/gradle-docker-plugin/deployments","created_at":"2015-09-17T14:15:16Z","updated_at":"2016-02-05T02:35:55Z","pushed_at":"2016-02-29T16:23:44Z","git_url":"git://github.com/cdancy/gradle-docker-plugin.git","ssh_url":"git@github.com:cdancy/gradle-docker-plugin.git","clone_url":"https://github.com/cdancy/gradle-docker-plugin.git","svn_url":"https://github.com/cdancy/gradle-docker-plugin","homepage":"","size":1214,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bmuschko:master","ref":"master","sha":"060d275fd0b7eca1ebf663d2bfff6046ec58b6d5","user":{"login":"bmuschko","id":440872,"avatar_url":"https://avatars.githubusercontent.com/u/440872?v=3","gravatar_id":"","url":"https://api.github.com/users/bmuschko","html_url":"https://github.com/bmuschko","followers_url":"https://api.github.com/users/bmuschko/followers","following_url":"https://api.github.com/users/bmuschko/following{/other_user}","gists_url":"https://api.github.com/users/bmuschko/gists{/gist_id}","starred_url":"https://api.github.com/users/bmuschko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmuschko/subscriptions","organizations_url":"https://api.github.com/users/bmuschko/orgs","repos_url":"https://api.github.com/users/bmuschko/repos","events_url":"https://api.github.com/users/bmuschko/events{/privacy}","received_events_url":"https://api.github.com/users/bmuschko/received_events","type":"User","site_admin":false},"repo":{"id":19589726,"name":"gradle-docker-plugin","full_name":"bmuschko/gradle-docker-plugin","owner":{"login":"bmuschko","id":440872,"avatar_url":"https://avatars.githubusercontent.com/u/440872?v=3","gravatar_id":"","url":"https://api.github.com/users/bmuschko","html_url":"https://github.com/bmuschko","followers_url":"https://api.github.com/users/bmuschko/followers","following_url":"https://api.github.com/users/bmuschko/following{/other_user}","gists_url":"https://api.github.com/users/bmuschko/gists{/gist_id}","starred_url":"https://api.github.com/users/bmuschko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmuschko/subscriptions","organizations_url":"https://api.github.com/users/bmuschko/orgs","repos_url":"https://api.github.com/users/bmuschko/repos","events_url":"https://api.github.com/users/bmuschko/events{/privacy}","received_events_url":"https://api.github.com/users/bmuschko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmuschko/gradle-docker-plugin","description":"Gradle plugin for managing Docker images and containers.","fork":false,"url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin","forks_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/forks","keys_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/teams","hooks_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/hooks","issue_events_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/events","assignees_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/tags","blobs_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/languages","stargazers_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/stargazers","contributors_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/contributors","subscribers_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/subscribers","subscription_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/subscription","commits_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/merges","archive_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/downloads","issues_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/labels{/name}","releases_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/deployments","created_at":"2014-05-08T21:35:02Z","updated_at":"2016-02-29T03:47:26Z","pushed_at":"2016-02-29T16:23:45Z","git_url":"git://github.com/bmuschko/gradle-docker-plugin.git","ssh_url":"git@github.com:bmuschko/gradle-docker-plugin.git","clone_url":"https://github.com/bmuschko/gradle-docker-plugin.git","svn_url":"https://github.com/bmuschko/gradle-docker-plugin","homepage":"","size":1392,"stargazers_count":175,"watchers_count":175,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":68,"mirror_url":null,"open_issues_count":16,"forks":68,"open_issues":16,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/163"},"html":{"href":"https://github.com/bmuschko/gradle-docker-plugin/pull/163"},"issue":{"href":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/163"},"comments":{"href":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/issues/163/comments"},"review_comments":{"href":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/163/comments"},"review_comment":{"href":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/pulls/163/commits"},"statuses":{"href":"https://api.github.com/repos/bmuschko/gradle-docker-plugin/statuses/05f25da7f7bbdbcbd587fd1646198c220d2146bc"}}}}