-
Notifications
You must be signed in to change notification settings - Fork 0
Fix rollback hint to reference a capture route that exists #352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -516,8 +516,9 @@ pub fn run_rollback(args: &RollbackArgs) -> Result<(), String> { | |
| return Err( | ||
| "a production rollback requires --rollback-to (the version to re-activate). Fastly \ | ||
| exposes no metadata to infer it, so it must be captured before the deploy that \ | ||
| superseded it -- use `deploy`'s `previous-version` output. Pass --staging to \ | ||
| deactivate a staged version instead." | ||
| superseded it -- run `active-version` before deploying (the deploy-fastly GitHub \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ⛏ Names the command but not its output key: superseded it -- run `active-version` (it prints `version=<N>`) before deploying, \ |
||
| action does this and exposes it as its `previous-version` output). Pass --staging \ | ||
| to deactivate a staged version instead." | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤔 No forward path for the operator reading this: "run The guide covers manual recovery ( Non-blocking — the PR as written is already strictly better than what it replaces. |
||
| .to_owned(), | ||
| ); | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛏ Parenthetical lists two different kinds of thing:
(`active-version`, or the deploy-fastly action's `previous-version` output)joins a command and an output with one comma, so the first item reads as if it were also an output name. This renders verbatim in--help.Suggested: