Skip to content

Commit

Permalink
Merge pull request #100 from fly-apps/pointer_diff
Browse files Browse the repository at this point in the history
The diff can be pgtype::NULL out of pg evidently
  • Loading branch information
DAlperin committed Apr 6, 2023
2 parents 9dcff36 + 15d039f commit bdf0827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/flypg/admin/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func ResolveRole(ctx context.Context, pg *pgx.Conn) (string, error) {

type ReplicationStat struct {
Name string
Diff int
Diff *int
}

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

0 comments on commit bdf0827

Please sign in to comment.