Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gitserver bc search #10576

Merged
merged 1 commit into from Aug 23, 2016
Merged

Conversation

csrwng
Copy link
Contributor

@csrwng csrwng commented Aug 22, 2016

Fixes bug in gitserver search for matching build config (pointer to loop var).
Adds unit test to catch the bug.

@csrwng
Copy link
Contributor Author

csrwng commented Aug 22, 2016

@bparees ptal

if err != nil {
return err
}

matchingBuildConfigs := []*buildapi.BuildConfig{}

for _, bc := range buildConfigList.Items {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go's horrible iteration behavior strikes again, eh?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes :)

@bparees
Copy link
Contributor

bparees commented Aug 22, 2016

lgtm [merge]

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 8bcc7c8

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8325/)

@csrwng
Copy link
Contributor Author

csrwng commented Aug 23, 2016

#8221
[merge]

@csrwng
Copy link
Contributor Author

csrwng commented Aug 23, 2016

[test]

@openshift-bot
Copy link
Contributor

The Origin test job could not be run again for this pull request.

  • If the proposed changes in this pull request caused the job to fail, update this pull request with new code to fix the issue(s).
  • If flaky tests caused the job to fail, leave a comment with links to the GitHub issue(s) in the openshift/origin repository with the kind/test-flake label that are tracking the flakes. If no issue already exists for the flake you encountered, create one.
  • If something else like CI system downtime or maintenance caused the job to fail, contact a member of the Team Project Committers group to trigger the job again.

@bparees
Copy link
Contributor

bparees commented Aug 23, 2016

@stevekuznetsov why isn't the bot respecting @csrwng's flake comment? #10576 (comment)

[merge]

@bparees
Copy link
Contributor

bparees commented Aug 23, 2016

@stevekuznetsov nm, i guess the issue @csrwng linked didn't have the flake label.

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 8bcc7c8

@openshift-bot openshift-bot merged commit 9d1e0b4 into openshift:master Aug 23, 2016
@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8355/)

@csrwng csrwng deleted the gitserver_bc_detection branch December 21, 2016 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants