Skip to content

Commit

Permalink
Minor fixes to docs (#2732)
Browse files Browse the repository at this point in the history
Invocations were missing a parameter and one arg had hyphen instead of underscore
  • Loading branch information
mhutchinson authored May 5, 2022
1 parent 91360a8 commit 70f5fbc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/howto/freeze_a_ct_log.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@ For example:

```
LOG_ID=987654321
LOG_SERVER_RPC=localhost:8090
METRICS_URI=http://signer-1:8091/metrics
```

## Set Log Tree To Draining State

Use `updatetree` to set the log tree to a `DRAINING` state.

`updatetree --tree_id=${LOG_ID} --tree-state=DRAINING`
`updatetree --admin_server=${LOG_SERVER_RPC} --tree_id=${LOG_ID} --tree_state=DRAINING`

Make sure the above command succeeds. At this point the log will not
accept new entries but there may be some that have already been
Expand Down Expand Up @@ -146,6 +147,6 @@ exceeding its MMD.

Use `updatetree` to set the log tree to a `FROZEN` state.

`updatetree --tree_id=${LOG_ID} --tree-state=FROZEN`
`updatetree --admin_server=${LOG_SERVER_RPC} --tree_id=${LOG_ID} --tree_state=FROZEN`

Make sure the above command succeeds. The log is now frozen.

0 comments on commit 70f5fbc

Please sign in to comment.