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

add a blocking accept method to RateLimiter #6314

Merged
merged 1 commit into from
Apr 2, 2015

Conversation

bparees
Copy link
Contributor

@bparees bparees commented Apr 1, 2015

No description provided.

@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@bparees
Copy link
Contributor Author

bparees commented Apr 1, 2015

I'm part of the RedHat CLA.

@smarterclayton ptal.

@smarterclayton
Copy link
Contributor

LGTM

@bprashanth
Copy link
Contributor

I think you need to gendocs

@smarterclayton
Copy link
Contributor

It's breaking on a lot of pulls - I assumed someone else would fix because bens code doesn't change the cli

On Apr 1, 2015, at 7:37 PM, Prashanth B notifications@github.com wrote:

I think you need to gendocs


Reply to this email directly or view it on GitHub.

@bprashanth
Copy link
Contributor

Fair enough, i think it's fixed, i kicked shippable and travis will merge if they finish green

@brendandburns brendandburns added cla: yes lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed cla: no labels Apr 2, 2015
@bprashanth
Copy link
Contributor

Looks like the failures are legit:

_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/pkg/apiserver/handlers_test.go:45: cannot use rl (type fakeRL) as type util.RateLimiter in argument to RateLimit:
    fakeRL does not implement util.RateLimiter (missing Accept method)

@bparees
Copy link
Contributor Author

bparees commented Apr 2, 2015

thanks @bprashanth, missed that. updated.

@bparees
Copy link
Contributor Author

bparees commented Apr 2, 2015

added a unit test for the new behavior.

@bparees bparees force-pushed the tokenbucket branch 2 times, most recently from 55b4d9e to 7cf8567 Compare April 2, 2015 18:32
@bparees
Copy link
Contributor Author

bparees commented Apr 2, 2015

@smarterclayton @bprashanth the travis errors look flaky and unrelated to my changes, any advice?

@bprashanth
Copy link
Contributor

That looks like #6199, i kicked travis, we'll see

@smarterclayton
Copy link
Contributor

Shippable passing is usually enough.

bprashanth added a commit that referenced this pull request Apr 2, 2015
add a blocking accept method to RateLimiter
@bprashanth bprashanth merged commit 3fe4224 into kubernetes:master Apr 2, 2015
bparees added a commit to bparees/origin that referenced this pull request Apr 3, 2015
bparees added a commit to bparees/origin that referenced this pull request Apr 4, 2015
bparees added a commit to bparees/origin that referenced this pull request Apr 4, 2015
bparees added a commit to bparees/origin that referenced this pull request Apr 6, 2015
@bparees bparees deleted the tokenbucket branch December 5, 2016 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants