Skip to content

Commit 0b00003

Browse files
committed
chore: fix inconsistency of cmd name
1 parent 68f39b9 commit 0b00003

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.MD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Stats Ninja 🥷
22

3-
This program will run on every server as docker container having docker unix socket mounted.
3+
This program will run on every server.
44
It will collect system stats and usage stats of all running swarm services and will send to swiftwave management node.
55

66
> This program will not expose any API for polling, it will send its stats directly to swiftwave management server
@@ -9,11 +9,11 @@ It will collect system stats and usage stats of all running swarm services and w
99

1010
1. `enable` - Enable swiftwave stats ninja service
1111
```bash
12-
sudo swiftwave_stats_ninja enable (http/https)://<swiftwave-management-node-ip>:<port> <analytics-token>
12+
sudo swiftwave-stats-ninja enable (http/https)://<swiftwave-management-node-ip>:<port> <analytics-token>
1313
```
1414
2. `disable` - Disable swiftwave stats ninja service
1515
```bash
16-
sudo swiftwave_stats_ninja disable
16+
sudo swiftwave-stats-ninja disable
1717
```
1818

1919
### License

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func main() {
6969
// disable cmd
7070
disable()
7171
} else {
72-
fmt.Println("Usage: stats_ninja <run|enable|disable>")
72+
fmt.Println("Usage: swiftwave-stats-ninja <run|enable|disable>")
7373
os.Exit(1)
7474
}
7575
}

0 commit comments

Comments
 (0)