Skip to content

Commit

Permalink
fix: 🐛 etcdctl for snapshot status is deprecated
Browse files Browse the repository at this point in the history
The `etcdctl`  for `snapshot status` is deprecated and we should use `etcdutl` instead.

Signed-off-by: mehdiMj <mehdi.is@live.com>
  • Loading branch information
mehdiMj-ir committed Dec 5, 2023
1 parent d958a06 commit e9b3c80
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/v3.5/op-guide/maintenance.md
Expand Up @@ -165,7 +165,7 @@ A snapshot is taken with `etcdctl`:

```sh
$ etcdctl snapshot save backup.db
$ etcdctl --write-out=table snapshot status backup.db
$ etcdutl --write-out=table snapshot status backup.db
+----------+----------+------------+------------+
| HASH | REVISION | TOTAL KEYS | TOTAL SIZE |
+----------+----------+------------+------------+
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/v3.5/tutorials/how-to-save-database.md
Expand Up @@ -19,7 +19,7 @@ Snapshot saved at my.db
```

```shell
etcdctl --write-out=table --endpoints=$ENDPOINTS snapshot status my.db
etcdutl --write-out=table snapshot status my.db

+---------+----------+------------+------------+
| HASH | REVISION | TOTAL KEYS | TOTAL SIZE |
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/v3.6/op-guide/maintenance.md
Expand Up @@ -165,7 +165,7 @@ A snapshot is taken with `etcdctl`:

```sh
$ etcdctl snapshot save backup.db
$ etcdctl --write-out=table snapshot status backup.db
$ etcdutl --write-out=table snapshot status backup.db
+----------+----------+------------+------------+
| HASH | REVISION | TOTAL KEYS | TOTAL SIZE |
+----------+----------+------------+------------+
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/v3.6/tutorials/how-to-save-database.md
Expand Up @@ -19,7 +19,7 @@ Snapshot saved at my.db
```

```shell
etcdctl --write-out=table --endpoints=$ENDPOINTS snapshot status my.db
etcdutl --write-out=table snapshot status my.db

+---------+----------+------------+------------+
| HASH | REVISION | TOTAL KEYS | TOTAL SIZE |
Expand Down

0 comments on commit e9b3c80

Please sign in to comment.