mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-18 21:51:49 +00:00
Merge pull request #5635 from fluxcd/backport-5625-to-release/v2.7.x
[release/v2.7.x] diff: report if object is skipped
This commit is contained in:
commit
abd603eca7
1 changed files with 3 additions and 0 deletions
|
|
@ -116,6 +116,9 @@ func (b *Builder) diff() (string, bool, error) {
|
||||||
diffErrs = append(diffErrs, err)
|
diffErrs = append(diffErrs, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if change.Action == ssa.SkippedAction {
|
||||||
|
output.WriteString(writeString(fmt.Sprintf("► %s skipped\n", change.Subject), bunt.Orange))
|
||||||
|
}
|
||||||
|
|
||||||
// if the object is a sops secret, we need to
|
// if the object is a sops secret, we need to
|
||||||
// make sure we diff only if the keys are different
|
// make sure we diff only if the keys are different
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue