Skip to content

Commit

Permalink
chore(edgestack): update debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarzhou-portainer committed Dec 20, 2023
1 parent 2cf95a7 commit 3f5b251
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions edge/stack/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,7 @@ func (manager *StackManager) pullImages(ctx context.Context, stack *edgeStack, s
manager.mu.Lock()
defer manager.mu.Unlock()

// log.Debug().Int("stack_identifier", int(stack.ID)).Msg("stack pulling images")
log.Debug().Int("stack_identifier", int(stack.ID)).Bool("PrePullImage", stack.PrePullImage).Bool("RePullImage", stack.RePullImage).Int("PullCount", stack.PullCount).Int("RetryInterval", RetryInterval).Bool("PullFinished", stack.PullFinished).Msg("stack pulling images")
log.Debug().Int("stack_identifier", int(stack.ID)).Msg("stack pulling images")

if !stack.PullFinished && (stack.PrePullImage || stack.RePullImage) {
stack.PullCount += 1
Expand Down

0 comments on commit 3f5b251

Please sign in to comment.