]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: fix a regression when processing the RedFish API 59981/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 25 Sep 2024 14:28:01 +0000 (14:28 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 25 Sep 2024 14:32:04 +0000 (14:32 +0000)
commitad0a7fa655e525194e1099a66907a691a3e5e2cf
treeef0490bfdda993930de04c993e1a7b189ef50dcd
parent327d209151bd40cbce8ab0444d59829d75f66b9b
node-proxy: fix a regression when processing the RedFish API

ce360a4a5f6 introduced a regression.

`Endpoint()` doesn't take a `EndpointMgr` object as parameter.
The call `e = Endpoint(self, _url, self.client)` obviously throws the
following error:

```
TypeError: __init__() takes 3 positional arguments but 4 were given
```

This commit fixes it.

Fixes: https://tracker.ceph.com/issues/68231
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py