From 926e7025bd79918f1f8e62661194e1e3e3a87637 Mon Sep 17 00:00:00 2001 From: hys Date: Sun, 29 Sep 2024 20:15:04 +0800 Subject: [PATCH] fix: create a event --- internal/watchdog/event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/watchdog/event.go b/internal/watchdog/event.go index b538dc4..85f3d51 100644 --- a/internal/watchdog/event.go +++ b/internal/watchdog/event.go @@ -139,7 +139,7 @@ func (w *Manager) DeleteWatchDog(uid string) { } func isStatusWaiting(status string) bool { - if status != Pending && status != Downloading { + if status != Pending { return false }