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 next() use crash in rbd-target-gw metrics #164

Merged
merged 1 commit into from Dec 20, 2019
Merged

Fix next() use crash in rbd-target-gw metrics #164

merged 1 commit into from Dec 20, 2019

Conversation

mikechristie
Copy link
Contributor

some_generator.next() does not exist in python 3. We only have
next(some_generator) which luckily also works in 2, so this patch
converts us to use it.

some_generator.next() does not exist in python 3. We only have
next(some_generator) which luckily also works in 2, so this patch
converts us to use it.
Copy link

@dillaman dillaman left a comment

Choose a reason for hiding this comment

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

lgtm

@dillaman dillaman merged commit 958a25a into ceph:master Dec 20, 2019
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

2 participants