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

vmctl: fix panic on start #3300

Merged
merged 1 commit into from
Nov 1, 2022
Merged

vmctl: fix panic on start #3300

merged 1 commit into from
Nov 1, 2022

Conversation

hagen1778
Copy link
Collaborator

The change disables initing the -version flag in new urfave/cli/v2 update. The -version flag conflicts with the identical flag from lib/buildinfo and causes panic.

See #3299

Signed-off-by: hagen1778 roman@victoriametrics.com

The change disables initing the `-version` flag in new
`urfave/cli/v2` update. The `-version` flag conflicts
with the identical flag from `lib/buildinfo` and causes panic.

See #3299

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Copy link
Contributor

@dmitryk-dk dmitryk-dk left a comment

Choose a reason for hiding this comment

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

LGTM!

@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Base: 57.73% // Head: 57.80% // Increases project coverage by +0.07% 🎉

Coverage data is based on head (b5bf989) compared to base (869e0f9).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3300      +/-   ##
==========================================
+ Coverage   57.73%   57.80%   +0.07%     
==========================================
  Files         286      286              
  Lines       48477    48480       +3     
==========================================
+ Hits        27986    28023      +37     
+ Misses      18694    18655      -39     
- Partials     1797     1802       +5     
Impacted Files Coverage Δ
app/vmctl/main.go 0.00% <0.00%> (ø)
lib/fasttime/fasttime.go 50.00% <0.00%> (-21.43%) ⬇️
app/vmselect/promql/aggr_incremental.go 86.48% <0.00%> (ø)
lib/storage/storage.go 70.62% <0.00%> (+0.28%) ⬆️
lib/mergeset/table.go 67.59% <0.00%> (+0.96%) ⬆️
lib/bloomfilter/filter.go 100.00% <0.00%> (+2.00%) ⬆️
lib/mergeset/block_stream_reader.go 65.88% <0.00%> (+11.21%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@hagen1778 hagen1778 merged commit ac4e23d into master Nov 1, 2022
@hagen1778 hagen1778 deleted the vmctl-fix-panic branch November 1, 2022 18:50
valyala pushed a commit that referenced this pull request Nov 5, 2022
The change disables initing the `-version` flag in new
`urfave/cli/v2` update. The `-version` flag conflicts
with the identical flag from `lib/buildinfo` and causes panic.

See #3299

Signed-off-by: hagen1778 <roman@victoriametrics.com>
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.

None yet

2 participants