Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Jun 25, 2024
1 parent d3a0377 commit 09ed9bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,3 @@ testfixtures_shared/

# build files generated
doc-tools/missing-doclet/bin/

# Wazuh template (currently downloaded from the wazuh/wazuh repo directly)
distribution/src/config/wazuh-template.json
19 changes: 0 additions & 19 deletions packaging_scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,22 +145,6 @@ function parse_args() {
esac
}

# ====
# Function to download the alerts template
# ====
#function download_template() {
# echo "Downloading wazuh-template.json"
# local download_url="https://raw.githubusercontent.com/wazuh/wazuh/${BRANCH}/extensions/elasticsearch/7.x/wazuh-template.json"
#
# if ! curl -s "${download_url}" -o distribution/src/config/wazuh-template.json; then
# echo "Unable to download wazuh-template.json"
# return 1
# fi
#
# echo "Successfully downloaded wazuh-template.json"
# return 0
#}

# ====
# Build function
# ====
Expand Down Expand Up @@ -192,9 +176,6 @@ function main() {
parse_args "${@}"

echo "Building OpenSearch for $PLATFORM-$DISTRIBUTION-$ARCHITECTURE"
#if ! download_template; then
# exit 1
#fi
build

# Copy artifact to dist folder in bundle build output
Expand Down

0 comments on commit 09ed9bb

Please sign in to comment.