We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nil == nil
1 parent 1ed6048 commit 4ad9095Copy full SHA for 4ad9095
internal/pgengine/access.go
@@ -19,7 +19,7 @@ func (pge *PgEngine) DeleteChain(ctx context.Context, chainID int) bool {
19
pge.l.WithError(err).Error("Failed to delete self destructive chain")
20
return false
21
}
22
- return err == nil && res.RowsAffected() == 1
+ return res.RowsAffected() == 1
23
24
25
// IsAlive returns true if the connection to the database is alive
0 commit comments