Skip to content

Commit 9962047

Browse files
authored
Merge pull request #17 from rxy0210/fix
fix: Fix syntax errors
2 parents b3b820c + 9caccce commit 9962047

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ Do check... 100% [==============================================================
6868
+-----+----------------+----------------+-----------+-----------+
6969
| S/N | SRC NODE NAME | DST NODE NAME | TARGET IP | RESULT |
7070
+-----+----------------+----------------+-----------+-----------+
71-
| 1 | ecs-net-dr-001 | ecs-net-dr-001 | 10.0.1.86 | SUCCESSED |
72-
| 2 | ecs-net-dr-002 | ecs-net-dr-002 | 10.0.2.29 | SUCCESSED |
71+
| 1 | ecs-net-dr-001 | ecs-net-dr-001 | 10.0.1.86 | SUCCEEDED |
72+
| 2 | ecs-net-dr-002 | ecs-net-dr-002 | 10.0.2.29 | SUCCEEDED |
7373
+-----+----------------+----------------+-----------+-----------+
7474

7575
+-----+----------------+----------------+-----------+-----------+-------------------------------+
@@ -132,8 +132,8 @@ Do check... 100% [==============================================================
132132
+-----+----------------+----------------+-----------+-----------+
133133
| S/N | SRC NODE NAME | DST NODE NAME | TARGET IP | RESULT |
134134
+-----+----------------+----------------+-----------+-----------+
135-
| 1 | ecs-net-dr-002 | ecs-net-dr-001 | 10.0.1.86 | SUCCESSED |
136-
| 2 | ecs-net-dr-001 | ecs-net-dr-002 | 10.0.2.29 | SUCCESSED |
135+
| 1 | ecs-net-dr-002 | ecs-net-dr-001 | 10.0.1.86 | SUCCEEDED |
136+
| 2 | ecs-net-dr-001 | ecs-net-dr-002 | 10.0.2.29 | SUCCEEDED |
137137
+-----+----------------+----------------+-----------+-----------+
138138
````
139139

README_zh.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ Do check... 100% [==============================================================
6767
+-----+----------------+----------------+-----------+-----------+
6868
| S/N | SRC NODE NAME | DST NODE NAME | TARGET IP | RESULT |
6969
+-----+----------------+----------------+-----------+-----------+
70-
| 1 | ecs-net-dr-001 | ecs-net-dr-001 | 10.0.1.86 | SUCCESSED |
71-
| 2 | ecs-net-dr-002 | ecs-net-dr-002 | 10.0.2.29 | SUCCESSED |
70+
| 1 | ecs-net-dr-001 | ecs-net-dr-001 | 10.0.1.86 | SUCCEEDED |
71+
| 2 | ecs-net-dr-002 | ecs-net-dr-002 | 10.0.2.29 | SUCCEEDED |
7272
+-----+----------------+----------------+-----------+-----------+
7373

7474
+-----+----------------+----------------+-----------+-----------+-------------------------------+
@@ -130,8 +130,8 @@ Do check... 100% [==============================================================
130130
+-----+----------------+----------------+-----------+-----------+
131131
| S/N | SRC NODE NAME | DST NODE NAME | TARGET IP | RESULT |
132132
+-----+----------------+----------------+-----------+-----------+
133-
| 1 | ecs-net-dr-002 | ecs-net-dr-001 | 10.0.1.86 | SUCCESSED |
134-
| 2 | ecs-net-dr-001 | ecs-net-dr-002 | 10.0.2.29 | SUCCESSED |
133+
| 1 | ecs-net-dr-002 | ecs-net-dr-001 | 10.0.1.86 | SUCCEEDED |
134+
| 2 | ecs-net-dr-001 | ecs-net-dr-002 | 10.0.2.29 | SUCCEEDED |
135135
+-----+----------------+----------------+-----------+-----------+
136136
````
137137

pkg/command/share/remote-command/interface.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func PrintStatus(status int) string {
3535
return "EXCEPTION"
3636
}
3737
if status == CommandSuccessed {
38-
return "SUCCESSED"
38+
return "SUCCEEDED"
3939
}
4040
if status == CommandFailed {
4141
return "FAILED"

0 commit comments

Comments
 (0)