outpost: fix invalid incluster config causing Outpost Service Connection list to fail
This commit is contained in:
parent
4b1e73251a
commit
d9956e1e9c
|
@ -247,7 +247,7 @@ class KubernetesServiceConnection(OutpostServiceConnection):
|
|||
return OutpostServiceConnectionState(
|
||||
version=version.git_version, healthy=True
|
||||
)
|
||||
except (OpenApiException, HTTPError):
|
||||
except (OpenApiException, HTTPError, ServiceConnectionInvalid):
|
||||
return OutpostServiceConnectionState(version="", healthy=False)
|
||||
|
||||
def client(self) -> ApiClient:
|
||||
|
|
Reference in New Issue