Skip to content

Commit

Permalink
docs: fix table formatting for bootstraprequest
Browse files Browse the repository at this point in the history
Fixes formatting for https://www.talos.dev/v1.6/reference/api/#bootstraprequest

Signed-off-by: Oscar Utbult <oscar.utbult@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
  • Loading branch information
oscr authored and smira committed Nov 20, 2023
1 parent 0eb245e commit 020a0eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions api/machine/machine.proto
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,9 @@ message RebootResponse {
// rpc Bootstrap
message BootstrapRequest {
// Enable etcd recovery from the snapshot.
//
// Snapshot should be uploaded before this call via EtcdRecover RPC.
bool recover_etcd = 1;
// Skip hash check on the snapshot (etcd).
//
// Enable this when recovering from data directory copy to skip integrity check.
bool recover_skip_hash_check = 2;
}
Expand Down
2 changes: 0 additions & 2 deletions pkg/machinery/api/machine/machine.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions website/content/v1.6/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4300,12 +4300,8 @@ rpc Bootstrap

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| recover_etcd | [bool](#bool) | | Enable etcd recovery from the snapshot.

Snapshot should be uploaded before this call via EtcdRecover RPC. |
| recover_skip_hash_check | [bool](#bool) | | Skip hash check on the snapshot (etcd).

Enable this when recovering from data directory copy to skip integrity check. |
| recover_etcd | [bool](#bool) | | Enable etcd recovery from the snapshot. Snapshot should be uploaded before this call via EtcdRecover RPC. |
| recover_skip_hash_check | [bool](#bool) | | Skip hash check on the snapshot (etcd). Enable this when recovering from data directory copy to skip integrity check. |



Expand Down

0 comments on commit 020a0eb

Please sign in to comment.