mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Fix spelling mistake in CRD type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
7b57f0d52d
commit
05784f5dfe
@ -58,7 +58,7 @@ class NonInjectedCustomResources extends React.Component<Dependencies> {
|
|||||||
|
|
||||||
const isNamespaced = crd.isNamespaced();
|
const isNamespaced = crd.isNamespaced();
|
||||||
const extraColumns = crd.getPrinterColumns(false); // Cols with priority bigger than 0 are shown in details
|
const extraColumns = crd.getPrinterColumns(false); // Cols with priority bigger than 0 are shown in details
|
||||||
const version = crd.getPreferedVersion();
|
const version = crd.getPreferredVersion();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TabLayout>
|
<TabLayout>
|
||||||
|
|||||||
@ -140,6 +140,13 @@ export class CustomResourceDefinition extends KubeObject<
|
|||||||
return this.spec.scope;
|
return this.spec.scope;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getPreferredVersion(): CustomResourceDefinitionVersion {
|
||||||
|
return this.getPreferedVersion();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Switch to using {@link getPreferredVersion} instead (which fixes the is a typo)
|
||||||
|
*/
|
||||||
getPreferedVersion(): CustomResourceDefinitionVersion {
|
getPreferedVersion(): CustomResourceDefinitionVersion {
|
||||||
const { apiVersion } = this;
|
const { apiVersion } = this;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user