docs: pin forced-move dry-run admission to the JSON answer

This commit is contained in:
pingqiu committed 2026-11-29 08:23:21 -08:00
1 parent 2ca3c55641
commit 677b1bb256
1 file changed
+2 -2
+2 -2
View File
@@ -406,8 +406,8 @@ sw-block ops workspace force-move --master MASTER --volume v1 \
`--dry-run` writes nothing; it shows whether the move is admitted and, if not,
`admissible at <time>, master clock`. Exit 0 means the check ran, admitted
or not; read `admitted` from `--json` before moving. The same barrier as above applies; there
is no bypass. Add `--json` to either the dry-run or real command for one JSON
or not; read `admitted` from `--json` before moving. The same barrier as above
applies; there is no bypass. Add `--json` to either the dry-run or real command for one JSON
answer: `admitted` (boolean), `until` (UTC RFC3339Nano barrier time when known
and not admitted, otherwise `""`), `code` (gRPC refusal code name such as
`FailedPrecondition`, or `""` on success), and `move_id` once a matching issued