Skip to content

Commit

Permalink
add the status
Browse files Browse the repository at this point in the history
Signed-off-by: ZackSoul <[email protected]>
  • Loading branch information
ZackSoul committed Dec 12, 2023
1 parent fab03e6 commit 6102cbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions tools-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@ Usage:

```shell
curve bs query snapshot --path /test/test111 --snapshotstatus done
(other status: "in-progess" "deleting" "errorDeleteing" "canceling" "error")
```

Output:
Expand Down
3 changes: 2 additions & 1 deletion tools-v2/pkg/cli/command/curvebs/query/snapshot/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ import (
)

const (
snapshotExample = `$ curve bs query snapshot --path /test/test111 --snapshotstatus done`
snapshotExample = `$ curve bs query snapshot --path /test/test111 --snapshotstatus done
(other status: "in-progress" "deleting" "errorDeleteing" "canceling" "error")`
)

type SnapShotCommand struct {
Expand Down

0 comments on commit 6102cbc

Please sign in to comment.