Skip to content

Commit

Permalink
Update extension.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan2221 authored Dec 20, 2024
1 parent 12af6df commit 6611ca3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/extension/sumologicextension/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,8 @@ func (se *SumologicExtension) updateMetadataWithHTTPClient(ctx context.Context,
}

var buff bytes.Buffer
se.logger.Info("Collector version before cleanup,",
zap.String("version",se.buildVersion))
if err = json.NewEncoder(&buff).Encode(api.OpenMetadataRequestPayload{
HostDetails: api.OpenMetadataHostDetails{
Name: hostname,
Expand Down

0 comments on commit 6611ca3

Please sign in to comment.