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

Method UpdateDescription

agent/app/service/backup_record.go:290–292  ·  view source on GitHub ↗
(req dto.UpdateDescription)

Source from the content-addressed store, hash-verified

288}
289
290func (u *BackupRecordService) UpdateDescription(req dto.UpdateDescription) error {
291 return backupRepo.UpdateRecordByMap(req.ID, map[string]interface{}{"description": req.Description})
292}

Callers

nothing calls this directly

Calls 1

UpdateRecordByMapMethod · 0.65

Tested by

no test coverage detected