Commit 5a7370e9 authored by 智勇's avatar 智勇

兼容/service/listEnvVars

parent 22fb6fa2
......@@ -5,7 +5,7 @@ const config = require('kubernetes-client').config
module.exports = function client() {
const client = {}
return async function (ctx, next) {
const exclude = ['/service/listEnvVarsNew', '/cluster']
const exclude = ['/service/listEnvVarsNew', '/service/listEnvVars', '/cluster']
if (exclude.includes(ctx.path)) {
await next()
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment