mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-07-02 10:14:20 +08:00
cloudcommon: tablespec: informer: log obj type
This commit is contained in:
@@ -63,10 +63,10 @@ func (ts *sTableSpec) newInformerModel(dt interface{}) (*informer.ModelObject, e
|
||||
return nil, errors.Errorf("informer model is not IModel")
|
||||
}
|
||||
if obj.GetVirtualObject() == nil {
|
||||
return nil, errors.Errorf("object %v virtual object is nil", obj)
|
||||
return nil, errors.Errorf("object %t %v virtual object is nil", obj, obj)
|
||||
}
|
||||
if obj.GetModelManager() == nil {
|
||||
return nil, errors.Errorf("object %v model manager is nil", obj)
|
||||
return nil, errors.Errorf("object %t %v model manager is nil", obj, obj)
|
||||
}
|
||||
jointObj, isJoint := obj.(IJointModel)
|
||||
if isJoint {
|
||||
|
||||
Reference in New Issue
Block a user