Skip to content

Commit

Permalink
fix: Fixup parameter sequence for Dowloader credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
aikebah committed Oct 11, 2024
1 parent 585016a commit 1a7bbed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ private void tryAddKEVCredentials(Settings settings, CredentialsStore credential
private void tryAddNexusAnalyzerCredentials(Settings settings, CredentialsStore credentialsStore) throws InvalidSettingException {
if (settings.getString(Settings.KEYS.ANALYZER_NEXUS_PASSWORD) != null) {
addUserPasswordCreds(settings, credentialsStore,
Settings.KEYS.ANALYZER_NEXUS_URL,
Settings.KEYS.ANALYZER_NEXUS_USER,
Settings.KEYS.ANALYZER_NEXUS_URL,
Settings.KEYS.ANALYZER_NEXUS_PASSWORD,
"Nexus Analyzer");
}
Expand All @@ -212,8 +212,8 @@ private void tryAddNexusAnalyzerCredentials(Settings settings, CredentialsStore
private void tryAddNVDApiDatafeed(Settings settings, CredentialsStore credentialsStore) throws InvalidSettingException {
if (settings.getString(Settings.KEYS.NVD_API_DATAFEED_PASSWORD) != null) {
addUserPasswordCreds(settings, credentialsStore,
Settings.KEYS.NVD_API_DATAFEED_URL,
Settings.KEYS.NVD_API_DATAFEED_USER,
Settings.KEYS.NVD_API_DATAFEED_URL,
Settings.KEYS.NVD_API_DATAFEED_PASSWORD,
"NVD API Datafeed");
}
Expand Down

0 comments on commit 1a7bbed

Please sign in to comment.