Open YashPatil0706 opened 4 months ago
Dyff has a bug where it doesn't identify the value changed, instead it shows an order change
order change
--- apiVersion: v1 kind: ConfigMap metadata: name: a annotations: a: "2"
--- apiVersion: v1 kind: ConfigMap metadata: name: a annotations: a: "3"
output:
metadata.annotations.a ± value change - 2 + 3
metadata.name
--- apiVersion: v1 kind: ConfigMap metadata: name: b annotations: a: "3"
(file level) - one document removed: --- ⇆ order changed --- apiVersion: v1 - v1/ConfigMap/a apiVersion: v1 kind: ConfigMap + v1/ConfigMap/b kind: ConfigMap metadata: metadata: │ name: b │ name: a │ annotations: │ annotations: │ │ a: 3 │ │ a: 2
metadata.annotations.a ± value change - 2 + 3 metadata.name ± value change - a + b
Yeah same issue here, its refusing to actually diff two files that have minor differences and just says order changed + one document removed
Dyff has a bug where it doesn't identify the value changed, instead it shows an
order change
app1.yaml:
app2.yaml
output:
Now if I change
metadata.name
:app1.yaml:
app2.yaml
output:
Expected output: