From 7ca420130cb40e188c0cbc7b9245a9ab120abf2b Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Thu, 25 Jul 2024 11:59:50 +1000 Subject: [PATCH] fix lint --- go-runtime/ftl/leases.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-runtime/ftl/leases.go b/go-runtime/ftl/leases.go index 70d01b6109..6bdcf15e75 100644 --- a/go-runtime/ftl/leases.go +++ b/go-runtime/ftl/leases.go @@ -46,7 +46,7 @@ func (l LeaseHandle) Err() error { l.state.mutex.Lock() defer l.state.mutex.Unlock() if err, ok := l.state.err.Get(); ok { - return err + return err //nolint:wrapcheck } return nil }