Skip to content

Commit

Permalink
Undo changes to settings.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yenienserrano authored and AlexRuiz7 committed Apr 19, 2023
1 parent 7ef51bc commit eadeaea
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/cli_plugin/install/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,7 @@ function generatePluginUrl(version, plugin) {
const platform = process.platform === 'win32' ? 'windows' : process.platform;
const arch = process.arch === 'arm64' ? 'arm64' : 'x64';

// Ignore the installation of the Wazuh plugin as it isn't present in
// the OpenSearch Dashboards repository. Otherwise, proceed as usual.
// TODO replace with actual URL of the Wazuh plugin at current version
// https://packages.wazuh.com/pre-release/ui/dashboard/wazuh-4.4.0-1.zip
return plugin.includes('wazuh')
? plugin
: `${LATEST_PLUGIN_BASE_URL}/${version}/latest/${platform}/${arch}/tar/builds/opensearch-dashboards/plugins/${plugin}-${version}.zip`;
return `${LATEST_PLUGIN_BASE_URL}/${version}/latest/${platform}/${arch}/tar/builds/opensearch-dashboards/plugins/${plugin}-${version}.zip`;
}

export function parseMilliseconds(val) {
Expand Down

0 comments on commit eadeaea

Please sign in to comment.