Skip to content

Commit 3670066

Browse files
authored
[deployment/databricks] Ensure curl commands are properly redirected (#6047)
* [deployment/databricks] Ensure curl commands are properly redirected * Update CHANGELOG.md
1 parent eca60fe commit 3670066

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- (Splunk) Add `opamp` extension ([#5999](https://github.com/signalfx/splunk-otel-collector/pull/5999))
88

9+
### 🧰 Bug fixes 🧰
10+
11+
- (Splunk) `deployment/databricks`: Ensure `curl` commands are properly redirected ([#6047](https://github.com/signalfx/splunk-otel-collector/pull/6047))
12+
913
## v0.121.0
1014

1115
This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.121.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.121.0) and the [opentelemetry-collector-contrib v0.121.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.121.0) releases where appropriate.

deployments/databricks/deploy_collector.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if [ ! -f $SPLUNK_OTEL_BINARY_FILE ] || [ $INSTALLED_SPLUNK_OTEL_VERSION != $SPL
9595
fi
9696

9797
# Download Splunk's distribution of the OpenTelemetry Collector
98-
curl --output "$SPLUNK_OTEL_BINARY_FILE" $SPLUNK_OTEL_BINARY_DOWNLOAD_URL || { echo "Failed to download $OTEL_BINARY_DOWNLOAD_URL"; exit 1; }
98+
curl -L --output "$SPLUNK_OTEL_BINARY_FILE" $SPLUNK_OTEL_BINARY_DOWNLOAD_URL || { echo "Failed to download $OTEL_BINARY_DOWNLOAD_URL"; exit 1; }
9999
chmod +x "$SPLUNK_OTEL_BINARY_FILE"
100100
else
101101
echo "Splunk OpenTelemetry Collector '${SPLUNK_OTEL_VERSION}' is already installed"

0 commit comments

Comments
 (0)