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

server/etcdserver: swap order of return types #15844

Merged
merged 1 commit into from
May 8, 2023
Merged

Conversation

mitake
Copy link
Contributor

@mitake mitake commented May 8, 2023

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

This is a follow up commit for #15656
The format check in release-3.5 branch (https://github.com/etcd-io/etcd/actions/runs/4867999645/jobs/8681084238?pr=15815) found that the order of return types of checkLeaseTimeToLive() is invalid. It wasn't detected in main and release-3.4. This PR fixes that.

The backport PRs (#15815 and #15814) have same style fix.

cc @ahrtr @spzala @serathius

Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @mitake

@ahrtr ahrtr merged commit b7ad038 into etcd-io:main May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants