sodafoundation / api

SODA Terra Project API module : is an open source implementation of SODA API connecting storage to platforms like Kubernetes, OpenStack, and VMware
Apache License 2.0
827 stars 316 forks source link

The code of getting pool's status should be more concise #1242

Open ThisIsClark opened 4 years ago

ThisIsClark commented 4 years ago

/kind improvement

What happened: The code of getting pool's status is a little bit difficult to understand

What you expected to happen: The code of getting pool's status should be easier to understand

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment: