Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Kumar <[email protected]>
  • Loading branch information
shivamkm07 committed Aug 5, 2023
1 parent acbdd0a commit 21e3867
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/component/azure/eventhubs/eventhubs.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type AzureEventHubs struct {

// HandlerResponseItem represents a response from the handler for each message.
type HandlerResponseItem struct {
EntryId string //nolint:stylecheck
EntryID string
Error error
}

Expand Down Expand Up @@ -213,7 +213,7 @@ func (aeh *AzureEventHubs) GetBulkPubSubHandlerFunc(topic string, getAllProperti
handlerResps := make([]HandlerResponseItem, len(resps))
for i, resp := range resps {
handlerResps[i] = HandlerResponseItem{
EntryId: resp.EntryId,
EntryID: resp.EntryId,
Error: resp.Error,
}
}
Expand Down Expand Up @@ -340,7 +340,7 @@ func (aeh *AzureEventHubs) handleAsync(ctx context.Context, topic string, messag
}
for _, item := range resp {
if item.Error != nil {
aeh.logger.Errorf("Failed to process Eventhubs bulk message entry. EntryId: %s. Error: %v ", item.EntryId, item.Error)
aeh.logger.Errorf("Failed to process Eventhubs bulk message entry. EntryID: %s. Error: %v ", item.EntryID, item.Error)
}
}
}
Expand Down

0 comments on commit 21e3867

Please sign in to comment.