From a7dccc7a0a9a468564710d9a358e39193050f19e Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Mon, 16 Oct 2023 14:51:30 -0400 Subject: [PATCH 1/2] README: fix link syntax to LXD doc Signed-off-by: Simon Deziel --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 9eecf5c2..42a3f5de 100644 --- a/README.rst +++ b/README.rst @@ -33,7 +33,7 @@ If you prefer live discussions, some of us also hang out in `_ on irc.libera.chat. LXD Documentation: `https://documentation.ubuntu.com/lxd/en/latest/ -https://documentation.ubuntu.com/lxd/en/latest/`_ +`_ PyLXD API Documentation: `https://pylxd.readthedocs.io/en/latest/ `_ From b6a40efd735f8e55ab9f8596593a855ed1d5755b Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Mon, 16 Oct 2023 17:01:15 -0400 Subject: [PATCH 2/2] models/storage_pool: add trailing "," Signed-off-by: Simon Deziel --- pylxd/models/storage_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylxd/models/storage_pool.py b/pylxd/models/storage_pool.py index 205cda17..790d940d 100644 --- a/pylxd/models/storage_pool.py +++ b/pylxd/models/storage_pool.py @@ -399,7 +399,7 @@ def get(cls, storage_pool, _type, name): volume = cls( storage_pool.client, storage_pool=storage_pool, - **response.json()["metadata"] + **response.json()["metadata"], ) return volume