Open shaharr-ma opened 2 years ago
In case 2 Kubernetes manifests files are being compared but 1 file missing some block (I.E
HorizontalPodAutoscaler
), DYFF fails to execute with the below output:panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x137deae] goroutine 1 [running]: github.com/homeport/dyff/pkg/dyff.Report.ExcludeRegexp.func1(0x0) github.com/homeport/dyff/pkg/dyff/reports.go:94 +0x6e
Thanks for bringing it up. Do you have an example you can paste here? That makes it easier to setup a test case and write a fix.
Hi @HeavyWombat - in general it's the same issue as https://github.com/homeport/dyff/issues/232
Hi @HeavyWombat - is there any plan to fix this issue ?
To be honest, I am slowly working myself through by homeport backlog. This is on the list. The problem in #232 should be fixed with the latest release. Does that include your problem here as well?
@HeavyWombat #232 issue is a bit different, i'm referring to - https://github.com/homeport/dyff/blob/2e6f1c072605bfdcc007294bb026539e486e1a7a/pkg/dyff/core.go#L137
In case 2 Kubernetes manifests files are being compared but 1 file missing some block (I.E
HorizontalPodAutoscaler
), DYFF fails to execute with the below output: