Skip to content

Commit f950817

Browse files
Utilize isSidecarStarted in health
Signed-off-by: Xavier Geerinck <[email protected]>
1 parent f934030 commit f950817

File tree

1 file changed

+1
-6
lines changed
  • src/implementation/Client/HTTPClient

1 file changed

+1
-6
lines changed

src/implementation/Client/HTTPClient/health.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ export default class HTTPClientHealth implements IClientHealth {
2424

2525
// Send an event to an external system
2626
async isHealthy(): Promise<boolean> {
27-
try {
28-
const result = await this.client.execute(`/metadata`);
29-
return !!result;
30-
} catch (e) {
31-
return false;
32-
}
27+
return this.client.isSidecarStarted();
3328
}
3429
}

0 commit comments

Comments
 (0)