-
Notifications
You must be signed in to change notification settings - Fork 321
Rename client-side "preflight" to "provision validation" (#7113) #8844
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
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -78,11 +78,11 @@ var ( | |||||||||
| var ( | ||||||||||
| ErrNoArgsProvided = errors.New("required arguments not provided") | ||||||||||
| ErrInvalidArgValue = errors.New("invalid argument value") | ||||||||||
| ErrOperationCancelled = errors.New("operation cancelled by user") | ||||||||||
| ErrOperationCancelled = errors.New("operation canceled by user") | ||||||||||
|
|
||||||||||
| // ErrAbortedByUser indicates the user intentionally declined to proceed (e.g. preflight warnings). | ||||||||||
| // ErrAbortedByUser indicates the user intentionally declined to proceed (e.g. provision validation warnings). | ||||||||||
| // This is not a failure — the CLI should exit with code 0. | ||||||||||
|
Member
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. After this change, both
While Consider keeping distinct messages, e.g.:
Suggested change
|
||||||||||
| ErrAbortedByUser = errors.New("operation aborted by user") | ||||||||||
| ErrAbortedByUser = errors.New("operation canceled by user") | ||||||||||
|
Member
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. Still unresolved from my earlier review: after this PR, both These sentinels have different semantics:
Consider giving |
||||||||||
| ) | ||||||||||
|
|
||||||||||
| // Config errors | ||||||||||
|
|
||||||||||
Uh oh!
There was an error while loading. Please reload this page.