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 509138ae55455d017a81a1b555e7804bb9fbcd4d
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Thu Apr 18 18:23:55 2024 +0200

    Fix mutable default argument value for ip_addresses argument in the
    create_node() 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 3a51187bb..ba2f713b1 100644
--- a/libcloud/compute/drivers/equinixmetal.py
+++ b/libcloud/compute/drivers/equinixmetal.py
@@ -272,7 +272,7 @@ def _list_async(driver):
         image,
         location,
         ex_project_id=None,
-        ip_addresses=[],
+        ip_addresses=None,
         cloud_init=None,
         **kwargs,
     ):

Reply via email to