From da99ba5e9376367ffd072f3a7e4c46c1a5cf6b76 Mon Sep 17 00:00:00 2001 From: qwerty287 Date: Mon, 19 Aug 2024 08:21:06 +0200 Subject: [PATCH] fix lint --- models/migrations/v1_23/v304.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/models/migrations/v1_23/v304.go b/models/migrations/v1_23/v304.go index cede913192..c283603a3d 100644 --- a/models/migrations/v1_23/v304.go +++ b/models/migrations/v1_23/v304.go @@ -301,9 +301,5 @@ Please try upgrading to a lower version first (suggested v1.6.4), then upgrade t } // Remove old version table - if err := x.DropTables(new(Version)); err != nil { - return err - } - - return nil + return x.DropTables(new(Version)) }