From ffa49c07abf8fac15a227c04f7ed4eeb743afddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Klimczak?= Date: Tue, 28 May 2024 10:56:02 +0200 Subject: [PATCH] Update scope.go Co-authored-by: James Humphries --- scope.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scope.go b/scope.go index b0f799cf1..5963f45d1 100644 --- a/scope.go +++ b/scope.go @@ -867,7 +867,7 @@ func (scope *Scope) callCallbacks(funcs []*func(s *Scope)) *Scope { if db != nil { db.Rollback() } else { - panic(fmt.Errorf("db is nil during a Rallback: %v", err)) + panic(fmt.Errorf("db is nil during a Rollback: %v", err)) } } panic(err)