Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Sep 22, 2021
1 parent 20eaa95 commit f551adc
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export function registerUpgradeAssistantUsageCollector({
elasticsearch,
usageCollection,
}: Dependencies) {
const upgradeAssistantUsageCollector = usageCollection.makeUsageCollector<UpgradeAssistantTelemetry>(
{
const upgradeAssistantUsageCollector =
usageCollection.makeUsageCollector<UpgradeAssistantTelemetry>({
type: 'upgrade-assistant-telemetry',
isReady: () => true,
schema: {
Expand All @@ -70,8 +70,7 @@ export function registerUpgradeAssistantUsageCollector({
},
},
fetch: async () => fetchUpgradeAssistantMetrics(elasticsearch),
}
);
});

usageCollection.registerCollector(upgradeAssistantUsageCollector);
}

0 comments on commit f551adc

Please sign in to comment.