Commit 47bc978f authored by Matthieu Dorier's avatar Matthieu Dorier

updated to reflect latest pymargo changes

parent 0e6bae54
...@@ -29,7 +29,7 @@ class BakeClient(): ...@@ -29,7 +29,7 @@ class BakeClient():
addr (MargoAddress): Address of the Bake provider. addr (MargoAddress): Address of the Bake provider.
provider_id (int): ID of the provider. provider_id (int): ID of the provider.
""" """
ph = _pybakeclient.provider_handle_create(self._client, addr.get_hg_addr(), provider_id) ph = _pybakeclient.provider_handle_create(self._client, addr._hg_addr, provider_id)
return BakeProviderHandle(ph) return BakeProviderHandle(ph)
def shutdown_service(self, addr): def shutdown_service(self, addr):
...@@ -39,7 +39,7 @@ class BakeClient(): ...@@ -39,7 +39,7 @@ class BakeClient():
Args: Args:
addr (MargoAddress): Address of the MargoInstance to shut down. addr (MargoAddress): Address of the MargoInstance to shut down.
""" """
_pybakeclient.shutdown_service(self._client, addr.get_hg_addr()) _pybakeclient.shutdown_service(self._client, addr._hg_addr)
def finalize(self): def finalize(self):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment