tdk fnrun recover
Recover the transaction a function run belongs to: the transaction's
failed or on-hold function runs are re-scheduled, each re-running its pinned function version and that version's latest patch.
tdk fnrun recover \
--format table \
--fnrun fnr-27ac91 \
--wait \
--timeout timeout-example \
--profile production
| Flag | Type | Required | Description |
|---|---|---|---|
-o, --format | table | json | yaml | Optional | Output format. 'json' and 'yaml' give a listing as an array and table data as one object per row. |
--fnrun | string | Required | ID of the function run to recover. |
--wait | flag | Optional | Wait until the recovered transaction reaches a final status. Exits 7 when '--timeout' runs out and 8 when a function run did not succeed. |
--timeout | string | Optional | Stop waiting after S seconds. Default: no limit. |
--profile | string | Optional | Profile whose login and pinned project and collection this command uses; with no NAME, the default profile. Default: the profile set with 'tdk set --profile', else the default profile. |