File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,18 @@ Example:
259259
260260Resumes the replication process.
261261
262+ # ### Request Body
263+
264+ - ` fromFailure` (optional): Allows PML to resume from failed state
265+
266+ Example:
267+
268+ ` ` ` json
269+ {
270+ " fromFailure" : true
271+ }
272+ ` ` `
273+
262274# ### Response
263275
264276- ` ok` : Boolean indicating if the operation was successful.
Original file line number Diff line number Diff line change @@ -259,8 +259,9 @@ var resetCmd = &cobra.Command{
259259
260260//nolint:gochecknoglobals
261261var resetRecoveryCmd = & cobra.Command {
262- Use : "recovery" ,
263- Short : "Reset recovery state" ,
262+ Use : "recovery" ,
263+ Hidden : true ,
264+ Short : "Reset recovery state" ,
264265 RunE : func (cmd * cobra.Command , _ []string ) error {
265266 targetURI , _ := cmd .InheritedFlags ().GetString ("target" )
266267 if targetURI == "" {
@@ -297,8 +298,9 @@ var resetRecoveryCmd = &cobra.Command{
297298
298299//nolint:gochecknoglobals
299300var resetHeartbeatCmd = & cobra.Command {
300- Use : "heartbeat" ,
301- Short : "Reset heartbeat state" ,
301+ Use : "heartbeat" ,
302+ Hidden : true ,
303+ Short : "Reset heartbeat state" ,
302304 RunE : func (cmd * cobra.Command , _ []string ) error {
303305 targetURI , _ := cmd .InheritedFlags ().GetString ("target" )
304306 if targetURI == "" {
You can’t perform that action at this time.
0 commit comments