Commit 62154284 authored by 智勇's avatar 智勇

修复更新镜像

parent d2aec30b
......@@ -113,6 +113,8 @@ router.post('/modifyImage', async (ctx) => {
if (!data.label) {
data.label = data.type
}
const resources = makeResouce(data.serviceName, data.label)
data.resources = resources
await deployUpdate(ctx.cluterParams, ctx.client, data)
} else {
await createService(ctx)
......
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