(info *relaycommon.RelayInfo)
| 35 | } |
| 36 | |
| 37 | func (d taskPluginSubmitDiagnostics) start(info *relaycommon.RelayInfo) { |
| 38 | if d.pluginKey == "" { |
| 39 | return |
| 40 | } |
| 41 | logger.LogDebug( |
| 42 | d.context, |
| 43 | "task_plugin subsystem=submit event=start generation=%d plugin=%q model=%q action_present=%t", |
| 44 | d.generation, |
| 45 | d.pluginKey, |
| 46 | info.OriginModelName, |
| 47 | info.Action != "", |
| 48 | ) |
| 49 | } |
| 50 | |
| 51 | func (d taskPluginSubmitDiagnostics) refund(stage string) { |
| 52 | if d.pluginKey == "" { |
nothing calls this directly
no test coverage detected