Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
gce: Exclude GCENodeDriver objects from _expand_node result #40120
The dictionary returned by _expand_node contains libcloud's GCENodeDriver
Those GCENodeDriver objects don't contain info on the node itself so may be
NOTE: As the purpose of _expand_node is to serialize libcloud node object, those GCENodeDriver objects at ret['driver'] and ret['extra']['zone']['driver'] are useless, so from my point of view removing them doesn't hurt backward compatibility. But I'm not pretty sure and would appreciate feedback on this. Maybe a correct solution would be setting those keys to None instead...