Skip to content

Commit 97096cb

Browse files
committed
Update deps
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 7e7a2eb commit 97096cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+677
-442
lines changed

apis/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type ListenerCfg struct {
4141
type PublisherCfg struct {
4242
Type PublisherType `valid:"required" json:"type" mapstructure:"type"`
4343
Address string `valid:"required" json:"address" mapstructure:"address"`
44-
NatsCredPath string `valid:"required" json:"natsCredPath" mapstructure:"natsCredPath"`
44+
NatsCredPath string `json:"natsCredPath" mapstructure:"natsCredPath"`
4545
Topic string `valid:"required" json:"topic" mapstructure:"topic"`
4646
TopicPrefix string `json:"topicPrefix" mapstructure:"topicPrefix"`
4747
EnableTLS bool `json:"enableTLS" mapstructure:"enableTlS"`

apis/config_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func TestConfig_Validate(t *testing.T) {
7171
TopicPrefix: "prefix",
7272
},
7373
},
74-
wantErr: errors.New("Listener.RefreshConnection: non zero value required;Listener.SlotName: non zero value required"),
74+
wantErr: errors.New("Listener.refreshConnection: non zero value required;Listener.slotName: non zero value required"),
7575
},
7676
{
7777
name: "bad db cfg",
@@ -97,7 +97,7 @@ func TestConfig_Validate(t *testing.T) {
9797
TopicPrefix: "prefix",
9898
},
9999
},
100-
wantErr: errors.New("Database.Host: non zero value required;Database.Port: non zero value required"),
100+
wantErr: errors.New("Database.host: non zero value required;Database.port: non zero value required"),
101101
},
102102
{
103103
name: "empty publisher kind",
@@ -123,7 +123,7 @@ func TestConfig_Validate(t *testing.T) {
123123
TopicPrefix: "prefix",
124124
},
125125
},
126-
wantErr: errors.New("Publisher.Type: non zero value required"),
126+
wantErr: errors.New("Publisher.address: non zero value required;Publisher.type: non zero value required"),
127127
},
128128
}
129129

cmd/pgoutbox/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535

3636
// GetVersion returns latest git hash of commit.
3737
func GetVersion() string {
38-
var version = "unknown"
38+
version := "unknown"
3939

4040
info, ok := debug.ReadBuildInfo()
4141
if ok {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/goccy/go-json v0.10.3
1010
github.com/google/uuid v1.6.0
1111
github.com/jackc/pglogrepl v0.0.0-20251213150135-2e8d0df862c1
12-
github.com/jackc/pgx/v5 v5.7.4
12+
github.com/jackc/pgx/v5 v5.8.0
1313
github.com/magiconair/properties v1.8.7
1414
github.com/nats-io/nats.go v1.48.0
1515
github.com/prometheus/client_golang v1.20.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsI
113113
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
114114
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo=
115115
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
116-
github.com/jackc/pgx/v5 v5.7.4 h1:9wKznZrhWa2QiHL+NjTSPP6yjl3451BX3imWDnokYlg=
117-
github.com/jackc/pgx/v5 v5.7.4/go.mod h1:ncY89UGWxg82EykZUwSpUKEfccBGGYq1xjrOpsbsfGQ=
116+
github.com/jackc/pgx/v5 v5.8.0 h1:TYPDoleBBme0xGSAX3/+NujXXtpZn9HBONkQC7IEZSo=
117+
github.com/jackc/pgx/v5 v5.8.0/go.mod h1:QVeDInX2m9VyzvNeiCJVjCkNFqzsNb43204HshNSZKw=
118118
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
119119
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
120120
github.com/jcmturner/aescts/v2 v2.0.0 h1:9YKLH6ey7H4eDBXW8khjYslgyqG2xZikXP0EQFKrle8=

internal/publisher/nats_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestEvent_GetSubjectName(t *testing.T) {
4040
Publisher: &apis.PublisherCfg{TopicPrefix: "prefix_", Topic: "STREAM"},
4141
},
4242
},
43-
want: "STREAM.prefix_public_users",
43+
want: "STREAM.prefix_schemas.public.tables.users",
4444
},
4545
}
4646

vendor/github.com/jackc/pgx/v5/.golangci.yml

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/jackc/pgx/v5/CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/jackc/pgx/v5/README.md

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/jackc/pgx/v5/batch.go

Lines changed: 68 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)