docs: fix table formatting for bootstraprequest

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>
This commit is contained in:
Oscar Utbult 2023-11-20 15:27:40 +01:00 committed by Andrey Smirnov
parent 0eb245e043
commit 020a0eb63e
No known key found for this signature in database
GPG Key ID: FE042E3D4085A811
3 changed files with 2 additions and 10 deletions

View File

@ -154,11 +154,9 @@ message RebootResponse {
// rpc Bootstrap // rpc Bootstrap
message BootstrapRequest { message BootstrapRequest {
// Enable etcd recovery from the snapshot. // Enable etcd recovery from the snapshot.
//
// Snapshot should be uploaded before this call via EtcdRecover RPC. // Snapshot should be uploaded before this call via EtcdRecover RPC.
bool recover_etcd = 1; bool recover_etcd = 1;
// Skip hash check on the snapshot (etcd). // Skip hash check on the snapshot (etcd).
//
// Enable this when recovering from data directory copy to skip integrity check. // Enable this when recovering from data directory copy to skip integrity check.
bool recover_skip_hash_check = 2; bool recover_skip_hash_check = 2;
} }

View File

@ -1183,11 +1183,9 @@ type BootstrapRequest struct {
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
// Enable etcd recovery from the snapshot. // Enable etcd recovery from the snapshot.
//
// Snapshot should be uploaded before this call via EtcdRecover RPC. // Snapshot should be uploaded before this call via EtcdRecover RPC.
RecoverEtcd bool `protobuf:"varint,1,opt,name=recover_etcd,json=recoverEtcd,proto3" json:"recover_etcd,omitempty"` RecoverEtcd bool `protobuf:"varint,1,opt,name=recover_etcd,json=recoverEtcd,proto3" json:"recover_etcd,omitempty"`
// Skip hash check on the snapshot (etcd). // Skip hash check on the snapshot (etcd).
//
// Enable this when recovering from data directory copy to skip integrity check. // Enable this when recovering from data directory copy to skip integrity check.
RecoverSkipHashCheck bool `protobuf:"varint,2,opt,name=recover_skip_hash_check,json=recoverSkipHashCheck,proto3" json:"recover_skip_hash_check,omitempty"` RecoverSkipHashCheck bool `protobuf:"varint,2,opt,name=recover_skip_hash_check,json=recoverSkipHashCheck,proto3" json:"recover_skip_hash_check,omitempty"`
} }

View File

@ -4300,12 +4300,8 @@ rpc Bootstrap
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| recover_etcd | [bool](#bool) | | Enable etcd recovery from the snapshot. | 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. |
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. |