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 <[email protected]>
  • Loading branch information
gokulav137 committed Sep 25, 2023
1 parent 03e3998 commit ed62a55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sensors/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"net/http"
"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 +68,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 All @@ -93,7 +93,7 @@ func NewSensorContext(kubeClient kubernetes.Interface, dynamicClient dynamic.Int
natsConnections: common.NewStringKeyedMap[*natslib.Conn](),
awsLambdaClients: common.NewStringKeyedMap[*lambda.Lambda](),
openwhiskClients: common.NewStringKeyedMap[*whisk.Client](),
azureEventHubsClients: common.NewStringKeyedMap[*eventhub.Hub](),
azureEventHubsClients: common.NewStringKeyedMap[*eventhubs.Hub](),
azureServiceBusClients: common.NewStringKeyedMap[*servicebus.Sender](),
metrics: metrics,
}
Expand Down

0 comments on commit ed62a55

Please sign in to comment.