chore: Fix spelling mistake in CRD type

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-12 14:14:39 -04:00
1 parent 0cc7303751
commit 65376e6c52
2 files changed
+8 -1

No files matched your search

@@ -140,6 +140,13 @@ export class CustomResourceDefinition extends KubeObject<
return this.spec.scope;
}
getPreferredVersion(): CustomResourceDefinitionVersion {
return this.getPreferedVersion();
}
/**
* @deprecated Switch to using {@link getPreferredVersion} instead (which fixes the is a typo)
*/
getPreferedVersion(): CustomResourceDefinitionVersion {
const { apiVersion } = this;