mirror of https://github.com/linkerd/linkerd2.git
Fix name of default route to ensure DEFAULT route is sorted to the bottom (#2469)
Some time ago, I fixed sorting on these tables so that the default route ([default]) was sorted to the bottom. The name was changed to [DEFAULT] causing that sort to no longer put the default route at the bottom. Update to correct case.
This commit is contained in:
parent
d4fdbe4991
commit
3be5de1736
|
@ -144,7 +144,7 @@ const processStatTable = table => {
|
|||
return _orderBy(rows, r => r.name);
|
||||
};
|
||||
|
||||
export const DefaultRoute = "[default]";
|
||||
export const DefaultRoute = "[DEFAULT]";
|
||||
export const processTopRoutesResults = rows => {
|
||||
return _map(rows, row => ({
|
||||
route: row.route || DefaultRoute,
|
||||
|
|
Loading…
Reference in New Issue