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

Update to use icon package

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka 2023-06-01 17:03:42 +03:00
parent ebbd6ab40b
commit 829a312145

View File

@ -32,7 +32,7 @@ type ProviderValue = typeof autoDetectPrometheus | string;
interface Dependencies {
productName: string;
requestMetricsProviders: RequestMetricsProviders;
requestPrometheusDetails: (cluster: Cluster) => Promise<PrometheusDetailsData>;
requestPrometheusDetails: (clusterId: string) => Promise<PrometheusDetailsData>;
}
interface PrometheusDetailsDataResult {
@ -133,7 +133,7 @@ class NonInjectedClusterPrometheusSetting extends React.Component<ClusterPrometh
loadPrometheusDetails = async () => {
try {
const details = await this.props.requestPrometheusDetails(this.props.cluster);
const details = await this.props.requestPrometheusDetails(this.props.cluster.id);
this.prometheusDetails = {
type: "success",