Skip to content

Commit

Permalink
Merge pull request #336 from werf/fix-not-saving-logs-for-sts-and-ds
Browse files Browse the repository at this point in the history
fix(dynamic-tracker): not saving logs for STS and DS
  • Loading branch information
ilya-lesikov authored Feb 7, 2024
2 parents d647339 + d064632 commit c1febe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/trackers/dyntracker/dynamic_readiness_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ func (t *DynamicReadinessTracker) trackStatefulSet(ctx context.Context, tracker
case logChunk := <-tracker.PodLogChunk:
t.taskState.RTransaction(func(ts *statestore.ReadinessTaskState) {
t.logStore.RWTransaction(func(ls *logstore.LogStore) {
t.handleReplicaSetPodLogChunk(logChunk, ls, ts)
t.handlePodLogChunk(logChunk.PodLogChunk, ls, ts)
})
})
case msg := <-tracker.EventMsg:
Expand Down Expand Up @@ -551,7 +551,7 @@ func (t *DynamicReadinessTracker) trackDaemonSet(ctx context.Context, tracker *d
case logChunk := <-tracker.PodLogChunk:
t.taskState.RTransaction(func(ts *statestore.ReadinessTaskState) {
t.logStore.RWTransaction(func(ls *logstore.LogStore) {
t.handleReplicaSetPodLogChunk(logChunk, ls, ts)
t.handlePodLogChunk(logChunk.PodLogChunk, ls, ts)
})
})
case msg := <-tracker.EventMsg:
Expand Down

0 comments on commit c1febe1

Please sign in to comment.