aboutsummaryrefslogtreecommitdiffstats
path: root/models/db/index.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/db/index.go')
-rw-r--r--models/db/index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/db/index.go b/models/db/index.go
index 9b164db1fa..673c382b27 100644
--- a/models/db/index.go
+++ b/models/db/index.go
@@ -44,7 +44,7 @@ func UpsertResourceIndex(ctx context.Context, tableName string, groupID int64) (
default:
return fmt.Errorf("database type not supported")
}
- return
+ return err
}
var (