{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/contrib/pulls/comments/72207827","id":72207827,"diff_hunk":"@@ -304,9 +316,23 @@ func kubeConfigGetter(d *schema.ResourceData) clientcmd.KubeconfigGetter {\n \t}\n }\n \n-func updateConfig(configAccess clientcmd.ConfigAccess, suppliedConfig *clientcmdapi.Config) func() (bool, error) {\n+func kubeconfigInit(d *schema.ResourceData, meta interface{}) (*config, error) {\n+\tconfigF := meta.(configFunc)\n+\tcfg, err := configF(d)\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"failed to initialize the cluster client: %v\", err)","path":"kubeform/pkg/provider/provider.go","position":60,"original_position":60,"commit_id":"4891a9d432cb954753417641f20884e6678ab5cb","original_commit_id":"4891a9d432cb954753417641f20884e6678ab5cb","user":{"login":"errordeveloper","id":251467,"avatar_url":"https://avatars.githubusercontent.com/u/251467?v=3","gravatar_id":"","url":"https://api.github.com/users/errordeveloper","html_url":"https://github.com/errordeveloper","followers_url":"https://api.github.com/users/errordeveloper/followers","following_url":"https://api.github.com/users/errordeveloper/following{/other_user}","gists_url":"https://api.github.com/users/errordeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/errordeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errordeveloper/subscriptions","organizations_url":"https://api.github.com/users/errordeveloper/orgs","repos_url":"https://api.github.com/users/errordeveloper/repos","events_url":"https://api.github.com/users/errordeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/errordeveloper/received_events","type":"User","site_admin":false},"body":"perhaps this should say \"Kubernetes\" instead of \"cluster\"","created_at":"2016-07-26T08:29:00Z","updated_at":"2016-07-26T08:29:00Z","html_url":"https://github.com/kubernetes/contrib/pull/1426#discussion_r72207827","pull_request_url":"https://api.github.com/repos/kubernetes/contrib/pulls/1426","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/comments/72207827"},"html":{"href":"https://github.com/kubernetes/contrib/pull/1426#discussion_r72207827"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/1426"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/contrib/pulls/1426","id":78559282,"html_url":"https://github.com/kubernetes/contrib/pull/1426","diff_url":"https://github.com/kubernetes/contrib/pull/1426.diff","patch_url":"https://github.com/kubernetes/contrib/pull/1426.patch","issue_url":"https://api.github.com/repos/kubernetes/contrib/issues/1426","number":1426,"state":"open","locked":false,"title":"Add kubeconfig delete support to kubeform.","user":{"login":"madhusudancs","id":10183,"avatar_url":"https://avatars.githubusercontent.com/u/10183?v=3","gravatar_id":"","url":"https://api.github.com/users/madhusudancs","html_url":"https://github.com/madhusudancs","followers_url":"https://api.github.com/users/madhusudancs/followers","following_url":"https://api.github.com/users/madhusudancs/following{/other_user}","gists_url":"https://api.github.com/users/madhusudancs/gists{/gist_id}","starred_url":"https://api.github.com/users/madhusudancs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhusudancs/subscriptions","organizations_url":"https://api.github.com/users/madhusudancs/orgs","repos_url":"https://api.github.com/users/madhusudancs/repos","events_url":"https://api.github.com/users/madhusudancs/events{/privacy}","received_events_url":"https://api.github.com/users/madhusudancs/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-23T01:27:48Z","updated_at":"2016-07-26T08:29:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f99b009664a9c650b8f13b2216188322cc35bd4","assignee":{"login":"errordeveloper","id":251467,"avatar_url":"https://avatars.githubusercontent.com/u/251467?v=3","gravatar_id":"","url":"https://api.github.com/users/errordeveloper","html_url":"https://github.com/errordeveloper","followers_url":"https://api.github.com/users/errordeveloper/followers","following_url":"https://api.github.com/users/errordeveloper/following{/other_user}","gists_url":"https://api.github.com/users/errordeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/errordeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errordeveloper/subscriptions","organizations_url":"https://api.github.com/users/errordeveloper/orgs","repos_url":"https://api.github.com/users/errordeveloper/repos","events_url":"https://api.github.com/users/errordeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/errordeveloper/received_events","type":"User","site_admin":false},"assignees":[{"login":"errordeveloper","id":251467,"avatar_url":"https://avatars.githubusercontent.com/u/251467?v=3","gravatar_id":"","url":"https://api.github.com/users/errordeveloper","html_url":"https://github.com/errordeveloper","followers_url":"https://api.github.com/users/errordeveloper/followers","following_url":"https://api.github.com/users/errordeveloper/following{/other_user}","gists_url":"https://api.github.com/users/errordeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/errordeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errordeveloper/subscriptions","organizations_url":"https://api.github.com/users/errordeveloper/orgs","repos_url":"https://api.github.com/users/errordeveloper/repos","events_url":"https://api.github.com/users/errordeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/errordeveloper/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/contrib/pulls/1426/commits","review_comments_url":"https://api.github.com/repos/kubernetes/contrib/pulls/1426/comments","review_comment_url":"https://api.github.com/repos/kubernetes/contrib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/contrib/issues/1426/comments","statuses_url":"https://api.github.com/repos/kubernetes/contrib/statuses/4891a9d432cb954753417641f20884e6678ab5cb","head":{"label":"madhusudancs:kubeform-kubeconfig-delete","ref":"kubeform-kubeconfig-delete","sha":"4891a9d432cb954753417641f20884e6678ab5cb","user":{"login":"madhusudancs","id":10183,"avatar_url":"https://avatars.githubusercontent.com/u/10183?v=3","gravatar_id":"","url":"https://api.github.com/users/madhusudancs","html_url":"https://github.com/madhusudancs","followers_url":"https://api.github.com/users/madhusudancs/followers","following_url":"https://api.github.com/users/madhusudancs/following{/other_user}","gists_url":"https://api.github.com/users/madhusudancs/gists{/gist_id}","starred_url":"https://api.github.com/users/madhusudancs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhusudancs/subscriptions","organizations_url":"https://api.github.com/users/madhusudancs/orgs","repos_url":"https://api.github.com/users/madhusudancs/repos","events_url":"https://api.github.com/users/madhusudancs/events{/privacy}","received_events_url":"https://api.github.com/users/madhusudancs/received_events","type":"User","site_admin":false},"repo":{"id":63291713,"name":"contrib","full_name":"madhusudancs/contrib","owner":{"login":"madhusudancs","id":10183,"avatar_url":"https://avatars.githubusercontent.com/u/10183?v=3","gravatar_id":"","url":"https://api.github.com/users/madhusudancs","html_url":"https://github.com/madhusudancs","followers_url":"https://api.github.com/users/madhusudancs/followers","following_url":"https://api.github.com/users/madhusudancs/following{/other_user}","gists_url":"https://api.github.com/users/madhusudancs/gists{/gist_id}","starred_url":"https://api.github.com/users/madhusudancs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhusudancs/subscriptions","organizations_url":"https://api.github.com/users/madhusudancs/orgs","repos_url":"https://api.github.com/users/madhusudancs/repos","events_url":"https://api.github.com/users/madhusudancs/events{/privacy}","received_events_url":"https://api.github.com/users/madhusudancs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madhusudancs/contrib","description":"This is a place for various components in the Kubernetes ecosystem that aren't part of the Kubernetes core. Consider creating a new repo instead.","fork":true,"url":"https://api.github.com/repos/madhusudancs/contrib","forks_url":"https://api.github.com/repos/madhusudancs/contrib/forks","keys_url":"https://api.github.com/repos/madhusudancs/contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madhusudancs/contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madhusudancs/contrib/teams","hooks_url":"https://api.github.com/repos/madhusudancs/contrib/hooks","issue_events_url":"https://api.github.com/repos/madhusudancs/contrib/issues/events{/number}","events_url":"https://api.github.com/repos/madhusudancs/contrib/events","assignees_url":"https://api.github.com/repos/madhusudancs/contrib/assignees{/user}","branches_url":"https://api.github.com/repos/madhusudancs/contrib/branches{/branch}","tags_url":"https://api.github.com/repos/madhusudancs/contrib/tags","blobs_url":"https://api.github.com/repos/madhusudancs/contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madhusudancs/contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madhusudancs/contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/madhusudancs/contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madhusudancs/contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/madhusudancs/contrib/languages","stargazers_url":"https://api.github.com/repos/madhusudancs/contrib/stargazers","contributors_url":"https://api.github.com/repos/madhusudancs/contrib/contributors","subscribers_url":"https://api.github.com/repos/madhusudancs/contrib/subscribers","subscription_url":"https://api.github.com/repos/madhusudancs/contrib/subscription","commits_url":"https://api.github.com/repos/madhusudancs/contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/madhusudancs/contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/madhusudancs/contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/madhusudancs/contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/madhusudancs/contrib/contents/{+path}","compare_url":"https://api.github.com/repos/madhusudancs/contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madhusudancs/contrib/merges","archive_url":"https://api.github.com/repos/madhusudancs/contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madhusudancs/contrib/downloads","issues_url":"https://api.github.com/repos/madhusudancs/contrib/issues{/number}","pulls_url":"https://api.github.com/repos/madhusudancs/contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/madhusudancs/contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/madhusudancs/contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madhusudancs/contrib/labels{/name}","releases_url":"https://api.github.com/repos/madhusudancs/contrib/releases{/id}","deployments_url":"https://api.github.com/repos/madhusudancs/contrib/deployments","created_at":"2016-07-14T01:31:33Z","updated_at":"2016-07-14T01:31:37Z","pushed_at":"2016-07-26T02:39:05Z","git_url":"git://github.com/madhusudancs/contrib.git","ssh_url":"git@github.com:madhusudancs/contrib.git","clone_url":"https://github.com/madhusudancs/contrib.git","svn_url":"https://github.com/madhusudancs/contrib","homepage":"","size":30816,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"kubernetes:master","ref":"master","sha":"b8b55aa9d55936327e78357f8ca4b52a4258a6ff","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":40686014,"name":"contrib","full_name":"kubernetes/contrib","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/contrib","description":"This is a place for various components in the Kubernetes ecosystem that aren't part of the Kubernetes core. Consider creating a new repo instead.","fork":false,"url":"https://api.github.com/repos/kubernetes/contrib","forks_url":"https://api.github.com/repos/kubernetes/contrib/forks","keys_url":"https://api.github.com/repos/kubernetes/contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/contrib/teams","hooks_url":"https://api.github.com/repos/kubernetes/contrib/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/contrib/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/contrib/events","assignees_url":"https://api.github.com/repos/kubernetes/contrib/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/contrib/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/contrib/tags","blobs_url":"https://api.github.com/repos/kubernetes/contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/contrib/languages","stargazers_url":"https://api.github.com/repos/kubernetes/contrib/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/contrib/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/contrib/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/contrib/subscription","commits_url":"https://api.github.com/repos/kubernetes/contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/contrib/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/contrib/merges","archive_url":"https://api.github.com/repos/kubernetes/contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/contrib/downloads","issues_url":"https://api.github.com/repos/kubernetes/contrib/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/contrib/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/contrib/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/contrib/deployments","created_at":"2015-08-13T23:18:26Z","updated_at":"2016-07-26T02:10:09Z","pushed_at":"2016-07-26T07:12:30Z","git_url":"git://github.com/kubernetes/contrib.git","ssh_url":"git@github.com:kubernetes/contrib.git","clone_url":"https://github.com/kubernetes/contrib.git","svn_url":"https://github.com/kubernetes/contrib","homepage":"","size":57490,"stargazers_count":390,"watchers_count":390,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":384,"mirror_url":null,"open_issues_count":273,"forks":384,"open_issues":273,"watchers":390,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/1426"},"html":{"href":"https://github.com/kubernetes/contrib/pull/1426"},"issue":{"href":"https://api.github.com/repos/kubernetes/contrib/issues/1426"},"comments":{"href":"https://api.github.com/repos/kubernetes/contrib/issues/1426/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/1426/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/contrib/pulls/1426/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/contrib/statuses/4891a9d432cb954753417641f20884e6678ab5cb"}}}}
{"actor":{"display_login":"errordeveloper"}}