{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/libpod/pulls/comments/194759640","pull_request_review_id":127990858,"id":194759640,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDc1OTY0MA==","diff_hunk":"@@ -254,6 +254,36 @@ func (s *PodmanSession) OutputToStringArray() []string {\n \treturn strings.Split(output, \"\\n\")\n }\n \n+// ErrorGrepString takes session stderr output and behaves like grep. it returns a bool\n+// if successful and an array of strings on positive matches\n+func (s *PodmanSession) ErrorGrepString(term string) (bool, []string) {\n+\tvar (\n+\t\tgreps   []string\n+\t\tmatches bool\n+\t)\n+\n+\tfor _, line := range strings.Split(s.ErrorToString(), \"\\n\") {\n+\t\tif strings.Contains(line, term) {\n+\t\t\tmatches = true\n+\t\t\tgreps = append(greps, line)\n+\t\t}\n+\t}\n+\treturn matches, greps\n+}\n+\n+// ErrorToString formats session stderr to string\n+func (s *PodmanSession) ErrorToString() string {\n+\tfields := strings.Fields(fmt.Sprintf(\"%s\", s.Err.Contents()))\n+\treturn strings.Join(fields, \" \")\n+}\n+\n+// ErrorToStringArray returns the stderr output as a []string\n+// where each array item is a line split by newline\n+func (s *PodmanSession) ErrorToStringArray() []string {\n+\toutput := fmt.Sprintf(\"%s\", s.Err.Contents())","path":"test/e2e/libpod_suite_test.go","position":30,"original_position":30,"commit_id":"f3770805f7f5a729aace7323841e8146084b2bf5","original_commit_id":"f3770805f7f5a729aace7323841e8146084b2bf5","user":{"login":"mheon","id":7735048,"node_id":"MDQ6VXNlcjc3MzUwNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/7735048?v=4","gravatar_id":"","url":"https://api.github.com/users/mheon","html_url":"https://github.com/mheon","followers_url":"https://api.github.com/users/mheon/followers","following_url":"https://api.github.com/users/mheon/following{/other_user}","gists_url":"https://api.github.com/users/mheon/gists{/gist_id}","starred_url":"https://api.github.com/users/mheon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mheon/subscriptions","organizations_url":"https://api.github.com/users/mheon/orgs","repos_url":"https://api.github.com/users/mheon/repos","events_url":"https://api.github.com/users/mheon/events{/privacy}","received_events_url":"https://api.github.com/users/mheon/received_events","type":"User","site_admin":false},"body":"@haircommander If it breaks the tests, it's not worth it, then","created_at":"2018-06-12T14:28:09Z","updated_at":"2018-06-12T14:28:09Z","html_url":"https://github.com/projectatomic/libpod/pull/932#discussion_r194759640","pull_request_url":"https://api.github.com/repos/projectatomic/libpod/pulls/932","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/comments/194759640"},"html":{"href":"https://github.com/projectatomic/libpod/pull/932#discussion_r194759640"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/932"}},"in_reply_to_id":194539554},"pull_request":{"url":"https://api.github.com/repos/projectatomic/libpod/pulls/932","id":194081912,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MDgxOTEy","html_url":"https://github.com/projectatomic/libpod/pull/932","diff_url":"https://github.com/projectatomic/libpod/pull/932.diff","patch_url":"https://github.com/projectatomic/libpod/pull/932.patch","issue_url":"https://api.github.com/repos/projectatomic/libpod/issues/932","number":932,"state":"open","locked":false,"title":"Added --tls-verify functionality to podman search, with tests","user":{"login":"haircommander","id":9082919,"node_id":"MDQ6VXNlcjkwODI5MTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9082919?v=4","gravatar_id":"","url":"https://api.github.com/users/haircommander","html_url":"https://github.com/haircommander","followers_url":"https://api.github.com/users/haircommander/followers","following_url":"https://api.github.com/users/haircommander/following{/other_user}","gists_url":"https://api.github.com/users/haircommander/gists{/gist_id}","starred_url":"https://api.github.com/users/haircommander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haircommander/subscriptions","organizations_url":"https://api.github.com/users/haircommander/orgs","repos_url":"https://api.github.com/users/haircommander/repos","events_url":"https://api.github.com/users/haircommander/events{/privacy}","received_events_url":"https://api.github.com/users/haircommander/received_events","type":"User","site_admin":false},"body":"Fixes: #914 \r\nSigned-off-by: haircommander <pehunt@redhat.com>","created_at":"2018-06-11T19:39:08Z","updated_at":"2018-06-12T14:28:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8938bf852f72357e01e862d07822688e31e4fe9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/libpod/pulls/932/commits","review_comments_url":"https://api.github.com/repos/projectatomic/libpod/pulls/932/comments","review_comment_url":"https://api.github.com/repos/projectatomic/libpod/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/libpod/issues/932/comments","statuses_url":"https://api.github.com/repos/projectatomic/libpod/statuses/f3770805f7f5a729aace7323841e8146084b2bf5","head":{"label":"haircommander:search_tls","ref":"search_tls","sha":"f3770805f7f5a729aace7323841e8146084b2bf5","user":{"login":"haircommander","id":9082919,"node_id":"MDQ6VXNlcjkwODI5MTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9082919?v=4","gravatar_id":"","url":"https://api.github.com/users/haircommander","html_url":"https://github.com/haircommander","followers_url":"https://api.github.com/users/haircommander/followers","following_url":"https://api.github.com/users/haircommander/following{/other_user}","gists_url":"https://api.github.com/users/haircommander/gists{/gist_id}","starred_url":"https://api.github.com/users/haircommander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haircommander/subscriptions","organizations_url":"https://api.github.com/users/haircommander/orgs","repos_url":"https://api.github.com/users/haircommander/repos","events_url":"https://api.github.com/users/haircommander/events{/privacy}","received_events_url":"https://api.github.com/users/haircommander/received_events","type":"User","site_admin":false},"repo":{"id":136067380,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwNjczODA=","name":"libpod","full_name":"haircommander/libpod","owner":{"login":"haircommander","id":9082919,"node_id":"MDQ6VXNlcjkwODI5MTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9082919?v=4","gravatar_id":"","url":"https://api.github.com/users/haircommander","html_url":"https://github.com/haircommander","followers_url":"https://api.github.com/users/haircommander/followers","following_url":"https://api.github.com/users/haircommander/following{/other_user}","gists_url":"https://api.github.com/users/haircommander/gists{/gist_id}","starred_url":"https://api.github.com/users/haircommander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haircommander/subscriptions","organizations_url":"https://api.github.com/users/haircommander/orgs","repos_url":"https://api.github.com/users/haircommander/repos","events_url":"https://api.github.com/users/haircommander/events{/privacy}","received_events_url":"https://api.github.com/users/haircommander/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haircommander/libpod","description":"libpod is a library used to create container pods.","fork":true,"url":"https://api.github.com/repos/haircommander/libpod","forks_url":"https://api.github.com/repos/haircommander/libpod/forks","keys_url":"https://api.github.com/repos/haircommander/libpod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haircommander/libpod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haircommander/libpod/teams","hooks_url":"https://api.github.com/repos/haircommander/libpod/hooks","issue_events_url":"https://api.github.com/repos/haircommander/libpod/issues/events{/number}","events_url":"https://api.github.com/repos/haircommander/libpod/events","assignees_url":"https://api.github.com/repos/haircommander/libpod/assignees{/user}","branches_url":"https://api.github.com/repos/haircommander/libpod/branches{/branch}","tags_url":"https://api.github.com/repos/haircommander/libpod/tags","blobs_url":"https://api.github.com/repos/haircommander/libpod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haircommander/libpod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haircommander/libpod/git/refs{/sha}","trees_url":"https://api.github.com/repos/haircommander/libpod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haircommander/libpod/statuses/{sha}","languages_url":"https://api.github.com/repos/haircommander/libpod/languages","stargazers_url":"https://api.github.com/repos/haircommander/libpod/stargazers","contributors_url":"https://api.github.com/repos/haircommander/libpod/contributors","subscribers_url":"https://api.github.com/repos/haircommander/libpod/subscribers","subscription_url":"https://api.github.com/repos/haircommander/libpod/subscription","commits_url":"https://api.github.com/repos/haircommander/libpod/commits{/sha}","git_commits_url":"https://api.github.com/repos/haircommander/libpod/git/commits{/sha}","comments_url":"https://api.github.com/repos/haircommander/libpod/comments{/number}","issue_comment_url":"https://api.github.com/repos/haircommander/libpod/issues/comments{/number}","contents_url":"https://api.github.com/repos/haircommander/libpod/contents/{+path}","compare_url":"https://api.github.com/repos/haircommander/libpod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haircommander/libpod/merges","archive_url":"https://api.github.com/repos/haircommander/libpod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haircommander/libpod/downloads","issues_url":"https://api.github.com/repos/haircommander/libpod/issues{/number}","pulls_url":"https://api.github.com/repos/haircommander/libpod/pulls{/number}","milestones_url":"https://api.github.com/repos/haircommander/libpod/milestones{/number}","notifications_url":"https://api.github.com/repos/haircommander/libpod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haircommander/libpod/labels{/name}","releases_url":"https://api.github.com/repos/haircommander/libpod/releases{/id}","deployments_url":"https://api.github.com/repos/haircommander/libpod/deployments","created_at":"2018-06-04T18:35:36Z","updated_at":"2018-06-11T13:11:08Z","pushed_at":"2018-06-11T20:46:28Z","git_url":"git://github.com/haircommander/libpod.git","ssh_url":"git@github.com:haircommander/libpod.git","clone_url":"https://github.com/haircommander/libpod.git","svn_url":"https://github.com/haircommander/libpod","homepage":null,"size":12925,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectatomic:master","ref":"master","sha":"1e9e530714ac0a8329dc27e38034380d81247e36","user":{"login":"projectatomic","id":6852258,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NTIyNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/6852258?v=4","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"repo":{"id":109145553,"node_id":"MDEwOlJlcG9zaXRvcnkxMDkxNDU1NTM=","name":"libpod","full_name":"projectatomic/libpod","owner":{"login":"projectatomic","id":6852258,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NTIyNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/6852258?v=4","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectatomic/libpod","description":"libpod is a library used to create container pods.","fork":false,"url":"https://api.github.com/repos/projectatomic/libpod","forks_url":"https://api.github.com/repos/projectatomic/libpod/forks","keys_url":"https://api.github.com/repos/projectatomic/libpod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/libpod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/libpod/teams","hooks_url":"https://api.github.com/repos/projectatomic/libpod/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/libpod/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/libpod/events","assignees_url":"https://api.github.com/repos/projectatomic/libpod/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/libpod/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/libpod/tags","blobs_url":"https://api.github.com/repos/projectatomic/libpod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/libpod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/libpod/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/libpod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/libpod/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/libpod/languages","stargazers_url":"https://api.github.com/repos/projectatomic/libpod/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/libpod/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/libpod/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/libpod/subscription","commits_url":"https://api.github.com/repos/projectatomic/libpod/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/libpod/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/libpod/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/libpod/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/libpod/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/libpod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/libpod/merges","archive_url":"https://api.github.com/repos/projectatomic/libpod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/libpod/downloads","issues_url":"https://api.github.com/repos/projectatomic/libpod/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/libpod/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/libpod/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/libpod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/libpod/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/libpod/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/libpod/deployments","created_at":"2017-11-01T15:01:27Z","updated_at":"2018-06-12T13:38:14Z","pushed_at":"2018-06-12T13:38:09Z","git_url":"git://github.com/projectatomic/libpod.git","ssh_url":"git@github.com:projectatomic/libpod.git","clone_url":"https://github.com/projectatomic/libpod.git","svn_url":"https://github.com/projectatomic/libpod","homepage":null,"size":12913,"stargazers_count":147,"watchers_count":147,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":54,"open_issues":60,"watchers":147,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/932"},"html":{"href":"https://github.com/projectatomic/libpod/pull/932"},"issue":{"href":"https://api.github.com/repos/projectatomic/libpod/issues/932"},"comments":{"href":"https://api.github.com/repos/projectatomic/libpod/issues/932/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/932/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/libpod/pulls/932/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/libpod/statuses/f3770805f7f5a729aace7323841e8146084b2bf5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mheon"}}