Commit 22fb6fa2 authored by 智勇's avatar 智勇

更新ctx.cluster

parent cae1ec6b
......@@ -39,12 +39,10 @@ module.exports = function client() {
),
version: '1.10',
})
client.clusterName = cluster
client.clusterDomain = clusterDomain
}
ctx.client = client[cluster]
ctx.cluster = client.clusterName
ctx.clusterDomain = client.clusterDomain
ctx.cluster = cluster
ctx.clusterDomain = clusterDomain
await next()
}
}
......
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