(task *model.Task, quota int)
| 213 | } |
| 214 | |
| 215 | func (d taskPluginSubmitDiagnostics) complete(task *model.Task, quota int) { |
| 216 | if d.pluginKey == "" || task == nil { |
| 217 | return |
| 218 | } |
| 219 | logger.LogDebug( |
| 220 | d.context, |
| 221 | "task_plugin subsystem=submit event=complete generation=%d plugin=%q public_task_id=%q quota=%d durable=true", |
| 222 | d.generation, |
| 223 | d.pluginKey, |
| 224 | task.TaskID, |
| 225 | quota, |
| 226 | ) |
| 227 | } |
| 228 | |
| 229 | func (d taskPluginSubmitDiagnostics) present(task *model.Task, presenter string) { |
| 230 | if d.pluginKey == "" || task == nil { |