Skip to content

Commit 48f48e6

Browse files
committed
Remove condition
1 parent 4077a1b commit 48f48e6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/flypg/zombie.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,6 @@ func ZombieDiagnosis(s *DNASample) (string, error) {
157157
}
158158

159159
func Quarantine(ctx context.Context, conn *pgx.Conn, n *Node, primary string) error {
160-
if ZombieLockExists() {
161-
return nil
162-
}
163-
164160
fmt.Println("Writing zombie.lock file.")
165161
if err := writeZombieLock(primary); err != nil {
166162
return fmt.Errorf("failed to set zombie lock: %s", err)

0 commit comments

Comments
 (0)