Skip to content

Refactor condition in restart supervisor#2805

Merged
anshulpundir merged 1 commit intomoby:masterfrom
dperny:rewrite-restart-condition-switch
Jan 14, 2019
Merged

Refactor condition in restart supervisor#2805
anshulpundir merged 1 commit intomoby:masterfrom
dperny:rewrite-restart-condition-switch

Conversation

@dperny
Copy link
Collaborator

@dperny dperny commented Jan 14, 2019

Small change to refactor a condition in the restart supervisor's shouldRestart method. The old condition made my brain hurt. This should make it easier for everyone to understand.

Skipping the usual pull request boilerplate because this is such a tiny refactor with no user-facing impact, which passes the unit tests.

Small change to refactor a condition in the restart supervisor's
shouldRestart method. The old condition made my brain hurt. This should
make it easier for everyone to understand.

Signed-off-by: Drew Erny <[email protected]>
@anshulpundir
Copy link
Contributor

LGTM, minor refactor, good to merge.

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.

2 participants