mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Before this change, the podCIDRs map contained both cidrs and ips depending on which code path entered a container into it. Specifically, SetUpPod would enter a CIDR while GetPodNetworkStatus would enter an IP. This normalizes both of them to always enter just IP addresses. This also removes the now-redundant cidr parsing that was used to get the ip before