derailed / k9s

🐶 Kubernetes CLI To Manage Your Clusters In Style!
https://k9scli.io
Apache License 2.0
27.32k stars 1.71k forks source link

Changes in internal/render/ing.go don't make any effect #1785

Open vitorfhc opened 2 years ago

vitorfhc commented 2 years ago




Describe the bug I've been trying to make some changes to internal/render/ing.go, but they don't work.

To Reproduce Steps to reproduce the behavior:

  1. Make a change in the (i Ingress) Render in internal/render/ing.go
  2. Make sure the change is going to be visible, for example by inserting return fmt.Errorf("ERROR") in the beginning
  3. Compile using make build or go build
  4. Run ./execs/k9s -c ingress

Expected behavior We should receive the "ERROR".

Screenshots N/A

Versions (please complete the following information):

Additional context I discovered this issue while using delve to debug. It was impossible to set a breakpoint using b github.com/derailed/k9s/internal/render.(*Ingress).Render.

The command strings ./execs/k9s | grep '(\*Ingress)\.Render' gives an empty output.

vitorfhc commented 2 years ago

I ran a git bisect and this is the first bad commit: 561a0c.