This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit fc48cacde37b21498e4c7f1d597392df238c3c3f
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Thu Apr 18 18:21:01 2024 +0200

    Remove volumes resource from list_resources_async method.
---
 libcloud/compute/drivers/equinixmetal.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcloud/compute/drivers/equinixmetal.py 
b/libcloud/compute/drivers/equinixmetal.py
index 90018e877..9edc53593 100644
--- a/libcloud/compute/drivers/equinixmetal.py
+++ b/libcloud/compute/drivers/equinixmetal.py
@@ -209,7 +209,7 @@ class EquinixMetalNodeDriver(NodeDriver):
         # order to prevent a SyntaxError in Python2 due to "yield from".
         # This cruft can be removed once Python2 support is no longer
         # required.
-        assert resource_type in ["nodes", "volumes"]
+        assert resource_type in ["nodes"]
         glob = globals()
         loc = locals()
         exec(

Reply via email to