Skip to content

Commit

Permalink
Revert unintended change - azure-event-hubs-go import alias reverted …
Browse files Browse the repository at this point in the history
…from eventhubs to eventhub

Signed-off-by: gokulav137 <52277763+gokulav137@users.noreply.github.com>
  • Loading branch information
gokulav137 committed Sep 25, 2023
1 parent 03e3998 commit 2b8f2fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sensors/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"time"

eventhub "github.com/Azure/azure-event-hubs-go/v3"
eventhubs "github.com/Azure/azure-event-hubs-go/v3"
servicebus "github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus"
"github.com/Shopify/sarama"
"github.com/apache/openwhisk-client-go/whisk"
Expand Down Expand Up @@ -68,7 +69,7 @@ type SensorContext struct {
// openwhiskClients holds the references to active OpenWhisk clients.
openwhiskClients *common.StringKeyedMap[*whisk.Client]
// azureEventHubsClients holds the references to active Azure Event Hub clients.
azureEventHubsClients *common.StringKeyedMap[*eventhub.Hub]
azureEventHubsClients *common.StringKeyedMap[*eventhubs.Hub]
// azureServiceBusClients holds the references to active Azure Service Bus clients.
azureServiceBusClients *common.StringKeyedMap[*servicebus.Sender]
metrics *sensormetrics.Metrics
Expand Down

0 comments on commit 2b8f2fb

Please sign in to comment.