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: Erroneous error-log for deprecated CLI flag usage when using properyfile based disablement of Node Audit Analyzer #5487

Merged
merged 3 commits into from
Feb 24, 2023

Conversation

aikebah
Copy link
Collaborator

@aikebah aikebah commented Feb 22, 2023

Fixes Issue #5483

Description of Change

  • Removal of the erroneous code, as the deprecation was already back in the v3.3.3 release.
  • Refactor the method-name that can be seen as the root-cause of existence to prevent regressions in case of future CLI-flag deprecations.
  • Removed the TODO-comment that has been lurking in the code since v3.3.3

In my view, given that we are 5 majors ahead of v3 it would be safe to remove in a bugfix-release, so scheduling it for 8.1.1

Have test cases been added to cover the new functionality?

no

Fixes issue #5483 by removing the deprecated flag error of version 3.3.3
that wrongly also fires when the node audit is disabled by the proper
property-setting. As this has raised an error-log stating removal in a
next release since v3.3.3 it should be fine to remove in a bugfix release.
Make the method-name clearly indicate that it does more than just check the presence of a
disabling option flag in the CLI arguments.
@aikebah aikebah added this to the 8.1.1 milestone Feb 22, 2023
@boring-cyborg boring-cyborg bot added the cli changes to the cli label Feb 22, 2023
@aikebah aikebah linked an issue Feb 22, 2023 that may be closed by this pull request
Copy link
Owner

@jeremylong jeremylong left a comment

Choose a reason for hiding this comment

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

LGTM

@aikebah aikebah merged commit 8963e45 into main Feb 24, 2023
@aikebah aikebah deleted the issue-5483 branch February 24, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli changes to the cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Erroneous disableNSP error
2 participants