MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / handleRecordStatus

Function handleRecordStatus

agent/init/hook/hook.go:123–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121}
122
123func handleRecordStatus() {
124 _ = global.DB.Model(&model.BackupRecord{}).Where("status = ?", constant.StatusWaiting).Updates(map[string]interface{}{
125 "status": constant.StatusFailed,
126 "message": constant.InterruptedMsg,
127 }).Error
128}
129
130func handleOllamaModelStatus() {
131 _ = global.DB.Model(&model.OllamaModel{}).Where("status = ?", constant.StatusWaiting).Updates(map[string]interface{}{

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected