Skip to content

Commit

Permalink
Remove unnecessary fmt.Sprintf
Browse files Browse the repository at this point in the history
Signed-off-by: Paschalis Tsilias <[email protected]>
  • Loading branch information
tpaschalis committed Feb 23, 2024
1 parent 634c0dd commit 092cb20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (lokiExporterConverter) ConvertAndAppend(state *state, id component.Instanc
)
diags.Add(
diag.SeverityLevelInfo,
fmt.Sprintf("Created a loki.write block with a best-effort conversion of the lokiexporter's confighttp, retry and queue configuration settings. You may want to double check the converted configuration as most fields do not have a 1:1 match"),
"Created a loki.write block with a best-effort conversion of the lokiexporter's confighttp, retry and queue configuration settings. You may want to double check the converted configuration as most fields do not have a 1:1 match",
)

state.Body().AppendBlock(block1)
Expand Down

0 comments on commit 092cb20

Please sign in to comment.