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: lower radius with respect to reserve size within radius #4514

Merged
merged 8 commits into from
Dec 18, 2023

Conversation

istae
Copy link
Member

@istae istae commented Dec 16, 2023

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

pkg/storer/reserve.go Outdated Show resolved Hide resolved
if err != nil {
db.logger.Error(err, "reserve set radius")
}
db.logger.Info("reserve radius decrease", "radius", radius)
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nice to have "old_radius" and "new_radius" in the logs.

Copy link
Member Author

Choose a reason for hiding this comment

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

new radius is always -> old-radius - 1

@istae istae merged commit d889c21 into master Dec 18, 2023
12 checks passed
@istae istae deleted the lower-radius branch December 18, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants