Skip to content

Commit 38ff3aa

Browse files
committed
review
1 parent 9bab62a commit 38ff3aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • flow/connectors/external_metadata

flow/connectors/external_metadata/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func (p *PostgresMetadata) FinishQRepPartition(
270270
// Clone rather than mutate in place because this partition is shared with the pull
271271
// goroutine, cloning keeps us from relying on implicit ordering to avoid a write race.
272272
// TODO: drop the sync_partition column entirely; nothing reads it back.
273-
partition = proto.Clone(partition).(*protos.QRepPartition)
273+
partition = proto.CloneOf(partition)
274274
partition.Range = nil
275275
}
276276
pbytes, err := protojson.Marshal(partition)

0 commit comments

Comments
 (0)