apropriate db
This commit is contained in:
@@ -33,12 +33,8 @@ func (dma *Storage) Deserialize(j map[string]interface{}) utils.DBObject {
|
||||
return dma
|
||||
}
|
||||
|
||||
func (s *Storage) GetType() resources.ResourceType {
|
||||
return resources.STORAGE
|
||||
}
|
||||
|
||||
func (d *Storage) GetAccessor() utils.Accessor {
|
||||
data := &StorageMongoAccessor{}
|
||||
data.SetLogger()
|
||||
data.SetLogger(resources.STORAGE)
|
||||
return data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user