noobaa-core
noobaa-core copied to clipboard
[Debt] All places that check cloud/mongo pools/nodes should be change to check types
Environment info
- Version: VERSION
- Deployment: AZURE|ESX|AWS|GCLOUD|DEV|VBOX
- Customer: NAME
Actual behavior
- Currently we have lots of places that perform checks like is_cloud_pool, is_mongo_pool, is_mongo_node, is_cloud_node, cloud_info, mongo_info and etc...
- All that needs to get changed and check the node_type, pool_node_type, resource_type that were added in pool schema and node schema
Expected behavior
Steps to reproduce
Screenshots or Logs or other output that would be helpful
(If large, please upload as attachment)