Skip to content

Commit 15d039f

Browse files
author
Dov Alperin
committed
The diff can be pgtype::NULL out of pg evidently
1 parent 9dcff36 commit 15d039f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/flypg/admin/admin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func ResolveRole(ctx context.Context, pg *pgx.Conn) (string, error) {
255255

256256
type ReplicationStat struct {
257257
Name string
258-
Diff int
258+
Diff *int
259259
}
260260

261261
func ResolveReplicationLag(ctx context.Context, pg *pgx.Conn) ([]*ReplicationStat, error) {

0 commit comments

Comments
 (0)