1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Tiny cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-07-20 09:48:34 +03:00
parent d15a88dfb7
commit afdd745f66

View File

@ -60,7 +60,7 @@ export interface IMetricsReqParams {
namespace?: string; // rbac-proxy validation param
}
export interface IResourceMetrics<T = IMetrics> {
export interface IResourceMetrics<T extends IMetrics> {
[metric: string]: T;
cpuUsage: T;
memoryUsage: T;