diff --git a/src/common/k8s-api/endpoints/pods.api.ts b/src/common/k8s-api/endpoints/pods.api.ts index 78a9480362..83d2d2234e 100644 --- a/src/common/k8s-api/endpoints/pods.api.ts +++ b/src/common/k8s-api/endpoints/pods.api.ts @@ -340,7 +340,7 @@ export interface FiberChannelSource { readOnly: boolean; } -export interface FlokerSource { +export interface FlockerSource { datasetName: string; } @@ -604,7 +604,7 @@ export interface PodVolumeVariants { ephemeral: EphemeralSource; fc: FiberChannelSource; flexVolume: FlexVolumeSource; - flocker: FlokerSource; + flocker: FlockerSource; gcePersistentDisk: GcePersistentDiskSource; gitRepo: GitRepoSource; glusterfs: GlusterFsSource; diff --git a/src/renderer/components/+workloads-pods/details/volumes/variant.tsx b/src/renderer/components/+workloads-pods/details/volumes/variant.tsx index 8fc3274758..e08dc69527 100644 --- a/src/renderer/components/+workloads-pods/details/volumes/variant.tsx +++ b/src/renderer/components/+workloads-pods/details/volumes/variant.tsx @@ -14,7 +14,7 @@ import { CephFs } from "./variants/ceph-fs"; import { Cinder } from "./variants/cinder"; import { ConfigMap } from "./variants/config-map"; import { ContainerStorageInterface } from "./variants/container-storage-interface"; -import { DownwardApi } from "./variants/downward-api"; +import { DownwardAPI } from "./variants/downward-api"; import { EmptyDir } from "./variants/empty-dir"; import { Ephemeral } from "./variants/ephemeral"; import { FiberChannel } from "./variants/fiber-channel"; @@ -108,7 +108,7 @@ function renderVolumeVariant({ pod, volume }: VolumeVariantProps): VolumeVariant if (volume.downwardAPI) { return { kind: "downwardAPI", - element: , + element: , }; } diff --git a/src/renderer/components/+workloads-pods/details/volumes/variants/downward-api.tsx b/src/renderer/components/+workloads-pods/details/volumes/variants/downward-api.tsx index a2728e11ce..c6c14bda2e 100644 --- a/src/renderer/components/+workloads-pods/details/volumes/variants/downward-api.tsx +++ b/src/renderer/components/+workloads-pods/details/volumes/variants/downward-api.tsx @@ -7,7 +7,7 @@ import React from "react"; import { DrawerItem } from "../../../../drawer"; import type { VolumeVariantComponent } from "../variant-helpers"; -export const DownwardApi: VolumeVariantComponent<"downwardAPI"> = ( +export const DownwardAPI: VolumeVariantComponent<"downwardAPI"> = ( ({ variant: { items }}) => ( <> diff --git a/src/renderer/components/+workloads-pods/details/volumes/variants/empty-dir.tsx b/src/renderer/components/+workloads-pods/details/volumes/variants/empty-dir.tsx index 01052ebf64..c648d42354 100644 --- a/src/renderer/components/+workloads-pods/details/volumes/variants/empty-dir.tsx +++ b/src/renderer/components/+workloads-pods/details/volumes/variants/empty-dir.tsx @@ -9,8 +9,8 @@ import type { VolumeVariantComponent } from "../variant-helpers"; export const EmptyDir: VolumeVariantComponent<"emptyDir"> = ( ({ variant: { medium, sizeLimit }}) => ( <> -