@@ -41,13 +41,13 @@ func CheckPostgreSQL(ctx context.Context, checks *check.CheckSuite) (*check.Chec
4141 _ = repConn .Close (ctx )
4242 }
4343
44- checks .AddCheck ("connections" , func () (string , error ) {
44+ _ = checks .AddCheck ("connections" , func () (string , error ) {
4545 return connectionCount (ctx , localConn )
4646 })
4747
4848 if member .Role == flypg .PrimaryRoleName {
4949 // Check to see if any locks are present.
50- checks .AddCheck ("cluster-locks" , func () (string , error ) {
50+ _ = checks .AddCheck ("cluster-locks" , func () (string , error ) {
5151 if flypg .ZombieLockExists () {
5252 return "" , fmt .Errorf ("`zombie.lock` detected" )
5353 }
@@ -62,7 +62,7 @@ func CheckPostgreSQL(ctx context.Context, checks *check.CheckSuite) (*check.Chec
6262 if member .Active {
6363 // Check that provides additional insight into disk capacity and
6464 // how close we are to hitting the readonly threshold.
65- checks .AddCheck ("disk-capacity" , func () (string , error ) {
65+ _ = checks .AddCheck ("disk-capacity" , func () (string , error ) {
6666 return diskCapacityCheck (ctx , node )
6767 })
6868 }
0 commit comments