We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b605f commit 7f67769Copy full SHA for 7f67769
python/neutron-understack/neutron_understack/ironic.py
@@ -14,7 +14,6 @@
14
class IronicClient:
15
def __init__(self):
16
LOG.debug("creating ironic client")
17
- self.irclient = self._get_ironic_client()
18
LOG.debug("created ironic client")
19
20
def _get_session(self, group: str) -> ks_loading.session.Session:
@@ -27,6 +26,10 @@ def _get_ironic_client(self) -> BaremetalService:
27
26
if not IRONIC_SESSION:
28
IRONIC_SESSION = self._get_session("ironic")
29
+ LOG.debug("got session, making connection")
30
+
31
+ @property
32
+ def irclient(self):
33
return connection.Connection(
34
session=IRONIC_SESSION,
35
oslo_conf=cfg.CONF,
0 commit comments