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

异常捕获

parent 055a4386
......@@ -30,7 +30,7 @@ const deploy = async (cluster) => {
const svcs = await getServicesFormat(client.clientInfo, namespace.name)
for (const svc of svcs) {
// 重启latest
if (~svc.image.indexOf('latest') && svc.serviceName === 'admin') {
if (~svc.image.indexOf('latest')) {
logger.info('检查项目', namespace.name, svc.serviceName)
try {
const latest = await container.getTagByName(`qa-test/${svc.serviceName}`, 'latest')
......
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