fix: use extend instead of append for the volumes list

This commit is contained in:
Roman 2024-02-01 14:53:40 +08:00
parent a9080f9636
commit 59d2252ffc
No known key found for this signature in database
GPG Key ID: B8FE070B54E11B75

View File

@ -78,7 +78,7 @@ class WakuNode:
default_args[key] = value
if len(default_args["rln-creds"]) == 4:
self._volumes.append(["./rln_tree:/etc/rln_tree/:Z", "./keystore/keystore.json:/keystore/keystore.json/:Z"])
self._volumes.extend(["./rln_tree:/etc/rln_tree/:Z", "./keystore/keystore.json:/keystore/keystore.json/:Z"])
rln_opts = {}
if self.is_gowaku():
rln_opts = {