-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix NetworkInterface
status propagation for IPs
#161
base: main
Are you sure you want to change the base?
Conversation
1ec2511
to
a7233eb
Compare
a7233eb
to
cb5a63f
Compare
cb5a63f
to
fdf2792
Compare
fdf2792
to
bee2f08
Compare
|
||
log.V(1).Info("Host device is ready", "HostDevice", hostDev) | ||
nicIPs := make([]net.IP, 0, len(apinetNic.Spec.IPs)) | ||
nicIPs := make([]string, 0, len(apinetNic.Spec.IPs)) | ||
for _, apinetNicIP := range apinetNic.Spec.IPs { | ||
// TODO: do proper IP type conversion here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you need still this comment?
} | ||
log.V(1).Info("Host device is ready", "HostDevice", hostDev, "IPs", nicIPs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you think it is good idea log whole structure hostDev and maybe IPs too, how it can help ops guys? Or maybe different level as info, if you need it.
Let's put this one on hold for now as I wanted to do some further testing. I will mark shit PR as draft for now and mark them as ready later. |
Proposed Changes
Fix
NetworkInterface
status propagation for IPs:[]string
for IPs inNetworkInterface
status