Skip to content

Commit

Permalink
Use auth.type instead of authMode, which was a copy-paste error (#877)
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall authored Nov 8, 2024
1 parent 9179b5d commit 4eab7ee
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ otelcol.exporter.otlphttp {{ include "helper.alloy_name" .name | quote }} {
{{- else }}
endpoint = {{ .url | quote }}
{{- end }}
{{- if eq .authMode "basic" }}
{{- if eq .auth.type "basic" }}
auth = otelcol.auth.basic.{{ include "helper.alloy_name" .name }}.handler
{{- else if eq .authMode "bearerToken" }}
{{- else if eq .auth.type "bearerToken" }}
auth = otelcol.auth.bearer.{{ include "helper.alloy_name" .name }}.handler
{{- end }}
headers = {
Expand Down

0 comments on commit 4eab7ee

Please sign in to comment.