1
0
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:
Roman 2020-07-25 17:46:06 +03:00 committed by Sebastian Malton
parent 59969719d6
commit ce54fc645d
2 changed files with 3 additions and 2 deletions

View File

@ -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" },

View File

@ -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();
}) })