Skip to content

fix: Erroneous error-log for deprecated CLI flag usage when using properyfile based disablement of Node Audit Analyzer#5487

Merged
aikebah merged 3 commits intomainfrom
issue-5483
Feb 24, 2023
Merged

fix: Erroneous error-log for deprecated CLI flag usage when using properyfile based disablement of Node Audit Analyzer#5487
aikebah merged 3 commits intomainfrom
issue-5483

Conversation

@aikebah
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

@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
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cli changes to the cli

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Erroneous disableNSP error

2 participants