Skip to content

[Bug]: UpstreamServer Fields Logs Displayed as Memory Addresses Instead of Actual Values in manager.go #6634

@AlexFenlon

Description

@AlexFenlon

Version

edge

What Kubernetes platforms are you running on?

Minikube

Steps to reproduce

  1. Run NIC on Plus with -log-level=debug
  2. Deploy the basic confg example
kubectl apply -f examples/custom-resources/basic-configuration/
  1. Look in this log line from manager.go:416
I20241009 15:30:00.204220   1 manager.go:412] Updated servers of vs_default_cafe_coffee; Added: [{0xc000d91928 0xc000d91920 <nil> <nil> <nil> 10.244.0.5:8080 10s    0 false}], Removed: [], Updated: []

Describe The Bug:
The log line shown above is a bug as the memory address of the information is being logged, instead of the actual information. It would be better if users can view the correct values and the name of the values too.

Metadata

Metadata

Labels

bugAn issue reporting a potential bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions