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>
This commit is contained in:
parent
97a437d059
commit
5048de80f0
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