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