MCPcopy Index your code
hub / github.com/bytebase/bytebase / CreateTaskRunLogS

Method CreateTaskRunLogS

backend/store/task_run_log.go:22–26  ·  view source on GitHub ↗
(ctx context.Context, projectID string, taskRunUID int64, t time.Time, replicaID string, e *storepb.TaskRunLog)

Source from the content-addressed store, hash-verified

20}
21
22func (s *Store) CreateTaskRunLogS(ctx context.Context, projectID string, taskRunUID int64, t time.Time, replicaID string, e *storepb.TaskRunLog) {
23 if err := s.CreateTaskRunLog(ctx, projectID, taskRunUID, t, replicaID, e); err != nil {
24 slog.Error("failed to create task run log", log.BBError(err))
25 }
26}
27
28func (s *Store) CreateTaskRunLog(ctx context.Context, projectID string, taskRunUID int64, t time.Time, replicaID string, e *storepb.TaskRunLog) error {
29 e.ReplicaId = replicaID

Callers 4

runStandardMigrationMethod · 0.80
runVersionedReleaseMethod · 0.80
runDeclarativeReleaseMethod · 0.80

Calls 3

CreateTaskRunLogMethod · 0.95
BBErrorFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected