Skip to content

Commit

Permalink
[FC] Add new version ID to logs after invalidating a snapshot (#8041)
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie-lou authored Dec 11, 2024
1 parent 1c79864 commit bfbff1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ func (l *SnapshotService) InvalidateSnapshot(ctx context.Context, key *fcpb.Snap
if err := cachetools.UploadActionResult(ctx, l.env.GetActionCacheClient(), acDigest, versionMetadataActionResult); err != nil {
return "", err
}
log.CtxInfof(ctx, "Invalidated all snapshots for key %s", key)
log.CtxInfof(ctx, "Invalidated all snapshots for key %s. New version is %s.", key, newVersion)
return newVersion, nil
}

Expand Down

0 comments on commit bfbff1f

Please sign in to comment.