mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix Kubectl.getDownloadMirror
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
bac6fbaaf1
commit
3919adaf31
@ -289,7 +289,7 @@ export class Kubectl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected getDownloadMirror() {
|
protected getDownloadMirror() {
|
||||||
const mirror = packageMirrors.get(userStore.preferences.downloadMirror)
|
const mirror = packageMirrors.get(userStore.preferences?.downloadMirror)
|
||||||
if (mirror) {
|
if (mirror) {
|
||||||
return mirror
|
return mirror
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user