Skip to content

Commit

Permalink
Improve log message when cache restoration is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulkar committed May 15, 2023
1 parent a27ea3e commit ce358f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/internal/runcache/runcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ func (tc *TaskCache) RestoreOutputs(ctx context.Context, prefixedUI *cli.Prefixe
prefixedUI.Warn(ui.Dim(fmt.Sprintf("Failed to mark outputs as cached for %v: %v", tc.pt.TaskID, err)))
}
} else {
// If no outputs have changed, that means we have a local cache hit.
// If outputs have not changed changed, that means we have a local cache hit.
cacheStatus.Local = true
prefixedUI.Warn(fmt.Sprintf("Skipping cache check for %v, outputs have not changed since previous run.", tc.pt.TaskID))
prefixedUI.Warn(fmt.Sprintf("Configured outputs are already in place for %s, skipping cache check", tc.pt.TaskID))
}

switch tc.taskOutputMode {
Expand Down

0 comments on commit ce358f0

Please sign in to comment.