MCPcopy
hub / github.com/apache/devlake / Close

Method Close

backend/plugins/taiga/impl/impl.go:244–251  ·  view source on GitHub ↗
(taskCtx plugin.TaskContext)

Source from the content-addressed store, hash-verified

242}
243
244func (p Taiga) Close(taskCtx plugin.TaskContext) errors.Error {
245 data, ok := taskCtx.GetData().(*tasks.TaigaTaskData)
246 if !ok {
247 return errors.Default.New(fmt.Sprintf("GetData failed when try to close %+v", taskCtx))
248 }
249 data.ApiClient.Release()
250 return nil
251}

Callers

nothing calls this directly

Calls 3

GetDataMethod · 0.65
NewMethod · 0.65
ReleaseMethod · 0.65

Tested by

no test coverage detected