From b38cf5f0fa3fbffa02f4a988b692e315e145e5bc Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 5 Mar 2025 02:59:11 -0600 Subject: [PATCH] nil check --- repo.test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/repo.test.go b/repo.test.go index d62295e..b19ba42 100644 --- a/repo.test.go +++ b/repo.test.go @@ -15,6 +15,10 @@ import ( ) func (mt *ReposTable) Delete() { + if mt == nil { + log.Info("mt == nil table already deleted") + return + } log.Info("implement table Delete here") mt.parent.DeleteTable(mt.pb) }