Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnetwork/util: add GetNetworkIPs()
Add helper function to get the first ipv4 and ipv6 from the network status. Since this is stored as a map, calling this function multiple times is not deterministic. The caller (Podman) should store this result to make sure it will keep using the same ips. Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information