Skip to content

Commit

Permalink
comments, update linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyhb committed Sep 10, 2024
1 parent 1dc8163 commit e7ee5e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
go-version: "1.23"
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.59.1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.61.0
./bin/golangci-lint run --verbose
test:
Expand Down
3 changes: 0 additions & 3 deletions pkg/decoder/pg_logical_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ func (v v1LogicalDecoder) Decode(in []byte, cs *changeset.Changeset) (bool, erro
}

func (v *v1LogicalDecoder) mutateChangeset(in pglogrepl.Message, cs *changeset.Changeset) error {
// XXX: When seeing a begin, annotate the transaction ID, LSN,
// and commit time to all messages between the begin and commit.

switch msg := in.(type) {
case *pglogrepl.BeginMessage:
cs.Operation = changeset.OperationBegin
Expand Down

0 comments on commit e7ee5e7

Please sign in to comment.