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:
parent
ebbd6ab40b
commit
829a312145
@ -32,7 +32,7 @@ type ProviderValue = typeof autoDetectPrometheus | string;
|
|||||||
interface Dependencies {
|
interface Dependencies {
|
||||||
productName: string;
|
productName: string;
|
||||||
requestMetricsProviders: RequestMetricsProviders;
|
requestMetricsProviders: RequestMetricsProviders;
|
||||||
requestPrometheusDetails: (cluster: Cluster) => Promise<PrometheusDetailsData>;
|
requestPrometheusDetails: (clusterId: string) => Promise<PrometheusDetailsData>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PrometheusDetailsDataResult {
|
interface PrometheusDetailsDataResult {
|
||||||
@ -133,7 +133,7 @@ class NonInjectedClusterPrometheusSetting extends React.Component<ClusterPrometh
|
|||||||
|
|
||||||
loadPrometheusDetails = async () => {
|
loadPrometheusDetails = async () => {
|
||||||
try {
|
try {
|
||||||
const details = await this.props.requestPrometheusDetails(this.props.cluster);
|
const details = await this.props.requestPrometheusDetails(this.props.cluster.id);
|
||||||
|
|
||||||
this.prometheusDetails = {
|
this.prometheusDetails = {
|
||||||
type: "success",
|
type: "success",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user