mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-07 16:27:27 +00:00
diff: report if object is skipped
Signed-off-by: Lukas Hoehl <lukas.hoehl@stackit.cloud>
(cherry picked from commit 5048de80f0)
This commit is contained in:
parent
48e77c820e
commit
83d426c3c0
1 changed files with 3 additions and 0 deletions
|
|
@ -116,6 +116,9 @@ func (b *Builder) diff() (string, bool, error) {
|
|||
diffErrs = append(diffErrs, err)
|
||||
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
|
||||
// make sure we diff only if the keys are different
|
||||
|
|
|
|||
Loading…
Reference in a new issue