diff --git a/web/vtadmin/src/components/routes/Tablets.test.tsx b/web/vtadmin/src/components/routes/Tablets.test.tsx index 9beb1bef970..fe2a39a20ab 100644 --- a/web/vtadmin/src/components/routes/Tablets.test.tsx +++ b/web/vtadmin/src/components/routes/Tablets.test.tsx @@ -61,7 +61,7 @@ describe('Tablets', () => { cell: 'cell1', uid: 3, }, - type: topodata.TabletType.MASTER, + type: topodata.TabletType.PRIMARY, }, }), pb.Tablet.create({ diff --git a/web/vtadmin/src/components/routes/Tablets.tsx b/web/vtadmin/src/components/routes/Tablets.tsx index 89d107a0ee3..ff208d2e862 100644 --- a/web/vtadmin/src/components/routes/Tablets.tsx +++ b/web/vtadmin/src/components/routes/Tablets.tsx @@ -143,7 +143,7 @@ export const formatRows = ( type: formatDisplayType(t), _raw: t, _keyspaceShard: `${t.tablet?.keyspace}/${t.tablet?.shard}`, - // Include the unformatted type so (string) filtering by "master" works + // Include the unformatted type so (string) filtering by "primary" works // even if "primary" is what we display, and what we use for key:value searches. _rawType: formatType(t), // Always sort primary tablets first, then sort alphabetically by type, etc. diff --git a/web/vtadmin/src/components/routes/keyspace/KeyspaceShards.test.tsx b/web/vtadmin/src/components/routes/keyspace/KeyspaceShards.test.tsx index 8dd38752d98..b466994cb25 100644 --- a/web/vtadmin/src/components/routes/keyspace/KeyspaceShards.test.tsx +++ b/web/vtadmin/src/components/routes/keyspace/KeyspaceShards.test.tsx @@ -64,7 +64,7 @@ describe('KeyspaceShards', () => { }, keyspace: 'keyspace1', shard: '-80', - type: topodata.TabletType.MASTER, + type: topodata.TabletType.PRIMARY, }, }), pb.Tablet.create({ @@ -77,7 +77,7 @@ describe('KeyspaceShards', () => { }, keyspace: 'keyspace2', shard: '-', - type: topodata.TabletType.MASTER, + type: topodata.TabletType.PRIMARY, }, }), pb.Tablet.create({ @@ -91,7 +91,7 @@ describe('KeyspaceShards', () => { hostname: 'tablet-zone1-300-80-00', keyspace: 'keyspace1', shard: '80-', - type: topodata.TabletType.MASTER, + type: topodata.TabletType.PRIMARY, }, }), ],