Join GitHub today
List Networks need not pull all the endpoints #30673
Pulling all the endpoints is a very resource heavy operation especially
Signed-off-by: Madhu Venugopal firstname.lastname@example.org
@cpuguy83 @thaJeztah i think the original implementation is a bug and we are fixing it the correct way here. I have seen other bugs filed for the exact same issue (I will point them when i find it). Also the inspect APIs are available to get the data. I don't think this change is going to break most of the users.
Pulling all the endpoints is a very resource heavy operation especially for Global-scoped networks with a backing KVStore. Such heavy operations can be fetched for individual network inspect. These are unneccessary for a simple network list operation. Signed-off-by: Madhu Venugopal <email@example.com>