Skip to content

Commit

Permalink
[chore][pkg/stanza] use test/template for operator format templating (
Browse files Browse the repository at this point in the history
open-telemetry#36388)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#36050

Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT authored and ZenoCC-Peng committed Dec 6, 2024
1 parent e46c1c3 commit 01ed945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/stanza/operator/output/file/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package file // import "github.com/open-telemetry/opentelemetry-collector-contri

import (
"fmt"
"html/template"
"text/template"

"go.opentelemetry.io/collector/component"

Expand Down
2 changes: 1 addition & 1 deletion pkg/stanza/operator/output/file/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ package file // import "github.com/open-telemetry/opentelemetry-collector-contri
import (
"context"
"encoding/json"
"html/template"
"os"
"sync"
"text/template"

"go.uber.org/zap"

Expand Down

0 comments on commit 01ed945

Please sign in to comment.