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 some reflector references #201

Merged
merged 2 commits into from
Jul 3, 2018
Merged

Fix some reflector references #201

merged 2 commits into from
Jul 3, 2018

Conversation

minrk
Copy link
Member

@minrk minrk commented Jul 3, 2018

  • typo in avoid failure to delete pods that don’t exist #196 fix self.pods should have been self.pod_reflector.pods
  • fixes for event reflector:
    • call it self.event_reflector to match .pod_reflector
    • hold onto references to the reflector once retrieved to avoid errors when self.events is None.

minrk added 2 commits July 3, 2018 15:34
pod_reflector.pods not self.pods
avoid errors when `self.events` could be None by grabbing `self.event_reflector` reference once and reusing it

Improve consistency by calling the event reflector `.event_reflector` like `.pod_reflector` instead of `.events`
@minrk minrk merged commit f422420 into jupyterhub:master Jul 3, 2018
@minrk minrk deleted the 404-typo branch July 3, 2018 14:02
minrk referenced this pull request Jul 3, 2018
avoid failure to delete pods that don’t exist
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.

1 participant