Skip to content

Commit 59e433a

Browse files
committed
name it Index Create Failed like in the ticket rather
1 parent da49b2d commit 59e433a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/compass-indexes/src/modules/regular-indexes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ export function createRegularIndex(
582582
await dispatch(refreshRegularIndexes());
583583
} catch (err) {
584584
dispatch(indexCreationFailed(inProgressIndexId, (err as Error).message));
585-
track('Index Failed', trackEvent, connectionInfoRef.current);
585+
track('Index Create Failed', trackEvent, connectionInfoRef.current);
586586
}
587587
};
588588
}

packages/compass-indexes/src/modules/search-indexes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ export const createIndex = ({
497497
createSearchIndexFailed(ATLAS_SEARCH_SERVER_ERRORS[error] || error)
498498
);
499499
track(
500-
'Index Failed',
500+
'Index Create Failed',
501501
{
502502
atlas_search: true,
503503
type,

packages/compass-telemetry/src/telemetry-events.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,8 +1349,8 @@ type IndexCreatedEvent = ConnectionScoped<{
13491349
*
13501350
* @category Indexes
13511351
*/
1352-
type IndexFailedEvent = ConnectionScoped<{
1353-
name: 'Index Failed';
1352+
type IndexCreateFailedEvent = ConnectionScoped<{
1353+
name: 'Index Create Failed';
13541354

13551355
payload: {
13561356
/**
@@ -2612,7 +2612,7 @@ export type TelemetryEvent =
26122612
| ImportErrorLogOpenedEvent
26132613
| ImportOpenedEvent
26142614
| IndexCreatedEvent
2615-
| IndexFailedEvent
2615+
| IndexCreateFailedEvent
26162616
| IndexCreateOpenedEvent
26172617
| IndexDroppedEvent
26182618
| IndexEditedEvent

0 commit comments

Comments
 (0)