TarsCloud / TarsWeb

TARS Projects Dashboard
BSD 3-Clause "New" or "Revised" License
141 stars 99 forks source link

下线服务不验证服务是否存活启动 #129

Open Arealm opened 3 years ago

Arealm commented 3 years ago

2021了bug 还不修复? https://github.com/TarsCloud/TarsWeb/blob/master/client/src/pages/server/manage.vue line 815 // 下线服务 undeployServer(server) { if(server.present_state === "active") { this.$tip.error(${this.$t('serverList.tips.undeploy')}); } else { this.$confirm(this.$t('serverList.dlg.msg.undeploy'), this.$t('common.alert')).then(() => { this.addTask(server.id, 'undeploy_tars', { success: this.$t('serverList.undeploy.success'), error: this.$t('serverList.undeploy.failed'), }); }); } }, 下线服务不验证服务是否存活启动?启动状态直接下线。cache 里面还存在?

ruanshudong commented 3 years ago

提交一个pr?

Arealm commented 3 years ago

这个算是逻辑bug了吧?怎么成pr了呢