Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Noble Mittal <[email protected]>
  • Loading branch information
beingnoble03 committed Nov 27, 2024
1 parent fefdb5d commit 3db89f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/vtadmin/src/util/schemaMigrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import { invertBy } from 'lodash-es';
import { vtctldata } from '../proto/vtadmin';

/**
* SCEMA_MIGRATION_STATUS maps numeric schema migration status back to human readable strings.
* SCHEMA_MIGRATION_STATUS maps numeric schema migration status back to human readable strings.
*/
export const SCEMA_MIGRATION_STATUS = Object.entries(invertBy(vtctldata.SchemaMigration.Status)).reduce(
export const SCHEMA_MIGRATION_STATUS = Object.entries(invertBy(vtctldata.SchemaMigration.Status)).reduce(
(acc, [k, vs]) => {
acc[k] = vs[0];
return acc;
Expand All @@ -28,4 +28,4 @@ export const SCEMA_MIGRATION_STATUS = Object.entries(invertBy(vtctldata.SchemaMi
);

export const formatSchemaMigrationStatus = (schemaMigration: vtctldata.ISchemaMigration) =>
schemaMigration.status && SCEMA_MIGRATION_STATUS[schemaMigration.status];
schemaMigration.status && SCHEMA_MIGRATION_STATUS[schemaMigration.status];

0 comments on commit 3db89f7

Please sign in to comment.