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

[v23.3.x] rpk: display float values as float in cluster config get #18849

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #18841

In 610e3ad we introduced a fix for redpanda-data#6070, to avoid
printing large numbers with scientific notation, we
treated all numbers as integers.

Now, the API uses float values and they are being
rounded, this change introduce a mod check to
determine whether the number is an integer or a
float.

(cherry picked from commit b7a57ed)
@vbotbuildovich vbotbuildovich requested a review from twmb as a code owner June 6, 2024 23:31
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Jun 6, 2024
@vbotbuildovich vbotbuildovich requested a review from r-vasquez as a code owner June 6, 2024 23:31
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jun 6, 2024
@r-vasquez r-vasquez self-assigned this Jun 6, 2024
@r-vasquez r-vasquez merged commit 94017f9 into redpanda-data:v23.3.x Jun 7, 2024
24 checks passed
@BenPope BenPope modified the milestones: v23.3.x-next, v23.3.17 Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants