simplify call to peer

This commit is contained in:
mr 2024-08-23 10:25:53 +02:00
parent 745fc7779e
commit 98fa1f6ca8

View File

@ -4,7 +4,6 @@ import (
"cloud.o-forge.io/core/oc-lib/logs"
"cloud.o-forge.io/core/oc-lib/models/booking"
"cloud.o-forge.io/core/oc-lib/models/discovery"
"cloud.o-forge.io/core/oc-lib/models/peer"
"cloud.o-forge.io/core/oc-lib/models/resource_model"
d "cloud.o-forge.io/core/oc-lib/models/resources/data"
@ -34,7 +33,6 @@ var models = map[string]func() utils.DBObject{
utils.SHARED_WORKSPACE.String(): func() utils.DBObject { return &shared_workspace.SharedWorkspace{} },
utils.RULE.String(): func() utils.DBObject { return &rule.Rule{} },
utils.BOOKING.String(): func() utils.DBObject { return &booking.Booking{} },
utils.DISCOVERY.String(): func() utils.DBObject { return &discovery.Discovery{} },
}
func Model(model int) utils.DBObject {