mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Update error message
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
71f4423c5f
commit
2f2b98eeff
1 file changed
+1
-1
@@ -335,7 +335,7 @@ export class KubeApi<
|
||||
|
||||
protected async checkPreferredVersion() {
|
||||
if (!this.doCheckPreferredVersion && (this.fallbackApiBases || this.allowedUsableVersions)) {
|
||||
throw new Error("checkPreferredVersion must be enabled if fallbackApiBases is set in KubeApi");
|
||||
throw new Error("checkPreferredVersion must be enabled if either fallbackApiBases or allowedUsableVersions are set in KubeApi");
|
||||
}
|
||||
|
||||
if (this.doCheckPreferredVersion && this.apiVersionPreferred === undefined) {
|
||||
|
||||
Reference in new issue
Block a user