nil check
This commit is contained in:
parent
cc51fd364d
commit
b38cf5f0fa
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue