mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-29 17:58:36 +08:00
cloudcommon: db: make master, slave id explict in joint resource base
This commit is contained in:
@@ -18,8 +18,15 @@ var HostwireManager *SHostwireManager
|
||||
|
||||
func init() {
|
||||
db.InitManager(func() {
|
||||
HostwireManager = &SHostwireManager{SHostJointsManager: NewHostJointsManager(SHostwire{},
|
||||
"hostwires_tbl", "hostwire", "hostwires", WireManager)}
|
||||
HostwireManager = &SHostwireManager{
|
||||
SHostJointsManager: NewHostJointsManager(
|
||||
SHostwire{},
|
||||
"hostwires_tbl",
|
||||
"hostwire",
|
||||
"hostwires",
|
||||
WireManager,
|
||||
),
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user