From 483f5b760429d0fa2bf29a656e78843b596b6e53 Mon Sep 17 00:00:00 2001 From: "meilin.huang" <954537473@qq.com> Date: Thu, 5 May 2022 21:26:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20shell=E8=84=9A=E6=9C=AC=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=94=A8=E5=AD=97=E7=AC=A6=E4=B8=B2=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 + mayfly_go_web/package.json | 2 +- .../src/views/ops/machine/MachineList.vue | 4 +- .../src/views/ops/machine/MachineStats.vue | 8 +- mayfly_go_web/yarn.lock | 2 +- server/devops/infrastructure/machine/shell.go | 69 +++--------- .../infrastructure/machine/shell/monitor.sh | 14 --- .../infrastructure/machine/shell/stats.sh | 15 --- server/devops/infrastructure/machine/stats.go | 2 +- .../devops/infrastructure/machine/status.go | 105 ------------------ 10 files changed, 29 insertions(+), 195 deletions(-) delete mode 100644 server/devops/infrastructure/machine/shell/monitor.sh delete mode 100644 server/devops/infrastructure/machine/shell/stats.sh delete mode 100644 server/devops/infrastructure/machine/status.go diff --git a/.gitignore b/.gitignore index c6f25b13..3b2b2a10 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,8 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out +*.lock +*.sum + */node_modules/ **/vendor/ \ No newline at end of file diff --git a/mayfly_go_web/package.json b/mayfly_go_web/package.json index 551dd398..a6cf653b 100644 --- a/mayfly_go_web/package.json +++ b/mayfly_go_web/package.json @@ -12,7 +12,7 @@ "countup.js": "^2.0.7", "cropperjs": "^1.5.11", "echarts": "^5.3.2", - "element-plus": "^2.1.10", + "element-plus": "^2.1.11", "@element-plus/icons-vue": "^1.1.3", "jsonlint": "^1.6.3", "lodash": "^4.17.21", diff --git a/mayfly_go_web/src/views/ops/machine/MachineList.vue b/mayfly_go_web/src/views/ops/machine/MachineList.vue index 4f1cfe6a..8ed8a38f 100644 --- a/mayfly_go_web/src/views/ops/machine/MachineList.vue +++ b/mayfly_go_web/src/views/ops/machine/MachineList.vue @@ -50,7 +50,7 @@ - + - +