Skip to content

Commit f67ce75

Browse files
authored
fix: update hook initialization handling (#12062)
1 parent e236ca5 commit f67ce75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agent/init/hook/hook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,6 @@ func initAlertTask() {
155155
}
156156

157157
func initMonitorDB() {
158-
_ = global.MonitorDB.AutoMigrate(&model.MonitorBase{}, model.MonitorGPU{}, model.MonitorIO{})
158+
_ = global.MonitorDB.AutoMigrate(&model.MonitorBase{}, &model.MonitorNetwork{}, &model.MonitorGPU{}, &model.MonitorIO{})
159159
_ = global.TaskDB.AutoMigrate(&model.Task{})
160160
}

0 commit comments

Comments
 (0)