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

rpk tune: Print warning when all tuners are disabled #1459

Merged
merged 1 commit into from
May 27, 2021

Conversation

0x5d
Copy link
Contributor

@0x5d 0x5d commented May 24, 2021

It's confusing for a user when rpk tune all is run and no tuners are applied. This is usually caused because "development" mode defaults are active, so print a message letting the user know.

Fix #1177

@0x5d 0x5d added the area/rpk label May 24, 2021
@0x5d 0x5d requested a review from 0xdiba May 24, 2021 16:26
@0x5d 0x5d self-assigned this May 24, 2021
@0x5d 0x5d requested a review from mmaslankaprv as a code owner May 24, 2021 16:26
@0x5d 0x5d removed the request for review from mmaslankaprv May 24, 2021 16:36
Copy link
Contributor

@0xdiba 0xdiba left a comment

Choose a reason for hiding this comment

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

:) Thanks for tackling this

src/go/rpk/pkg/cli/cmd/redpanda/tune.go Outdated Show resolved Hide resolved
@0x5d 0x5d force-pushed the rpk-tune-mode-notice branch from baf7eeb to 004babd Compare May 26, 2021 22:17
@0x5d 0x5d requested a review from 0xdiba May 26, 2021 22:17
@0x5d 0x5d merged commit 200c19a into redpanda-data:dev May 27, 2021
@0x5d 0x5d deleted the rpk-tune-mode-notice branch May 27, 2021 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rpk tune: Notify the user when dev mode is active
2 participants