mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
DCO-bot check fix
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
59969719d6
commit
ce54fc645d
@ -417,7 +417,7 @@ export class Cluster implements ClusterModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected async getAllowedResources() {
|
protected async getAllowedResources() {
|
||||||
// TODO: auto-populate all resources dynamically
|
// todo: auto-populate all resources dynamically (e.g. kubectl api-resources -o=wide -v=7)
|
||||||
const apiResources = [
|
const apiResources = [
|
||||||
{ resource: "configmaps" },
|
{ resource: "configmaps" },
|
||||||
{ resource: "cronjobs", group: "batch" },
|
{ resource: "cronjobs", group: "batch" },
|
||||||
|
|||||||
@ -81,7 +81,8 @@ app.on("ready", main);
|
|||||||
|
|
||||||
app.on("will-quit", async (event) => {
|
app.on("will-quit", async (event) => {
|
||||||
event.preventDefault(); // To allow mixpanel sending to be executed
|
event.preventDefault(); // To allow mixpanel sending to be executed
|
||||||
if (clusterManager) clusterManager.stop()
|
|
||||||
if (proxyServer) proxyServer.close()
|
if (proxyServer) proxyServer.close()
|
||||||
|
if (clusterManager) clusterManager.stop()
|
||||||
|
if (windowManager) windowManager.destroy()
|
||||||
app.exit();
|
app.exit();
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user