outposts: fix error when client hasn't be initialised
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
27e4c7027c
commit
53b10e64f8
|
@ -86,6 +86,7 @@ class BaseController:
|
|||
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
"""Cleanup after usage"""
|
||||
if hasattr(self, "client"):
|
||||
self.client.__exit__(exc_type, exc_value, traceback)
|
||||
|
||||
def get_static_deployment(self) -> str:
|
||||
|
|
Reference in New Issue