Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunalGupta committed Jun 20, 2024
1 parent 5bbb18e commit 237ac32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions flow/connectors/iceberg/qrep.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package iceberg
import (
"context"
"fmt"
"github.com/PeerDB-io/peer-flow/peerdbenv/features"
"log/slog"
"time"

Expand All @@ -13,6 +12,7 @@ import (
"github.com/PeerDB-io/peer-flow/logger"
"github.com/PeerDB-io/peer-flow/model"
"github.com/PeerDB-io/peer-flow/model/qvalue"
"github.com/PeerDB-io/peer-flow/peerdbenv/features"
)

func (c *IcebergConnector) SyncQRepRecords(
Expand All @@ -27,7 +27,6 @@ func (c *IcebergConnector) SyncQRepRecords(
return c.sendRecordsJoined(ctx, config, partition, stream)
}

//nolint:unused
func (c *IcebergConnector) sendRecordsJoined(
ctx context.Context,
config *protos.QRepConfig,
Expand Down
5 changes: 3 additions & 2 deletions flow/peerdbenv/features/iceberg.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package features

import (
"context"
"github.com/PeerDB-io/peer-flow/logger"
"github.com/PeerDB-io/peer-flow/peerdbenv"
"log/slog"
"strconv"

"github.com/PeerDB-io/peer-flow/logger"
"github.com/PeerDB-io/peer-flow/peerdbenv"
)

func IcebergFeatureStreamingEnabled(ctx context.Context) bool {
Expand Down

0 comments on commit 237ac32

Please sign in to comment.