mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
vet: composite literal uses unkeyed fields
This commit is contained in:
@@ -57,7 +57,11 @@ var logQueue = make(chan *SActionlog, 50)
|
||||
|
||||
func init() {
|
||||
InitActionWhiteList()
|
||||
ActionLog = &SActionlogManager{db.SOpsLogManager{db.NewModelBaseManager(SActionlog{}, "action_tbl", "action", "actions")}}
|
||||
ActionLog = &SActionlogManager{
|
||||
SOpsLogManager: db.SOpsLogManager{
|
||||
SModelBaseManager: db.NewModelBaseManager(SActionlog{}, "action_tbl", "action", "actions"),
|
||||
},
|
||||
}
|
||||
ActionLog.SetVirtualObject(ActionLog)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user