Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Apr 22, 2024
1 parent 8cde5ea commit 203f29b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flow/e2e/eventhub/eventhub.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func ConsumeAllMessages(
return nil, fmt.Errorf("failed to create eventhub client: %w", err)
}

var messages []string
messages := make([]string, 0, expectedNum)
partitionClient, err := ehClient.NewPartitionClient("0", nil)
if err != nil {
return nil, fmt.Errorf("failed to create partition client: %w", err)
Expand Down
5 changes: 3 additions & 2 deletions flow/e2e/eventhub/peer_flow_eh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ import (
"testing"
"time"

"github.com/jackc/pgx/v5"
"github.com/stretchr/testify/require"

connpostgres "github.com/PeerDB-io/peer-flow/connectors/postgres"
"github.com/PeerDB-io/peer-flow/e2e"
"github.com/PeerDB-io/peer-flow/e2eshared"
"github.com/PeerDB-io/peer-flow/generated/protos"
"github.com/PeerDB-io/peer-flow/shared"
peerflow "github.com/PeerDB-io/peer-flow/workflows"
"github.com/jackc/pgx/v5"
"github.com/stretchr/testify/require"
)

type EventhubsSuite struct {
Expand Down

0 comments on commit 203f29b

Please sign in to comment.