Update LogsClassBase.ts to convert method from arrow function (#15969)

This commit is contained in:
Aniket Katkar 2024-04-19 20:52:27 +05:30 committed by GitHub
parent e01054fe68
commit eeaab62e63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,11 +42,11 @@ class LogsClassBase {
* name: string * name: string
* url: string * url: string
*/ */
public getLogBreadCrumbs = ( public getLogBreadCrumbs(
serviceType: string, serviceType: string,
ingestionName: string, ingestionName: string,
ingestionDetails: IngestionPipeline | undefined ingestionDetails: IngestionPipeline | undefined
) => { ) {
const updateIngestionName = Fqn.split(ingestionName); const updateIngestionName = Fqn.split(ingestionName);
if (updateIngestionName.includes(OPEN_METADATA) && ingestionDetails) { if (updateIngestionName.includes(OPEN_METADATA) && ingestionDetails) {
return [ return [
@ -114,7 +114,7 @@ class LogsClassBase {
: '', : '',
}; };
}); });
}; }
} }
const logsClassBase = new LogsClassBase(); const logsClassBase = new LogsClassBase();