argocd app diff --revision
ignores hard refresh
#22463
Labels
bug
Something isn't working
component:cli
Affects the Argo CD CLI
version:2.14
Latest confirmed affected version is 2.14
Checklist:
argocd version
.Describe the bug
When using
argocd app diff
with custom--revision
and--hard-refresh
, manifests are taken from cache and not refreshed.To Reproduce
With following application:
and following CLI is called:
The repo server is returning the diff with
targetRevision
and previously cached state of0.0.42
-- e.g. even if the0.0.42
revision has changed, the cached version is used for diff (with no respect to--hard-refresh
).Expected behavior
No cached response is returned.
Screenshots
Version
Logs
The text was updated successfully, but these errors were encountered: