-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
skip validations if --force is supplied #8969
Conversation
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: priyawadhwa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
kvm2 Driver Times for Minikube (PR 8969): [60.941701728000005 59.79701377799999 62.870484757] Averages Time Per Log
docker Driver Times for Minikube (PR 8969): [26.600051089 26.999339037000002 26.065668697000003] Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 8969): [62.108225051 61.92423689300001 59.963464648999995] Averages Time Per Log
docker Driver Times for Minikube (PR 8969): [27.941649217 27.587390251000002 26.762106916] Averages Time Per Log
|
|
||
func skipErrorIfForceEnabled(code int, message string, v out.V) { | ||
if !viper.GetBool(force) { | ||
exit.WithCodeT(code, message, v) |
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.
hint to the user if they really want this, they can use --force flag
similar to what we had before
To use this version anyway, use the `--force` flag
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.
I don't think we should be encouraging people to just use the --force
flag if something isn't meeting minimum requirements -- it makes sense for k8s versions because users may be using <1.13 which is a reasonable use case, but not for anything else
kvm2 Driver Times for Minikube (PR 8969): [57.33730473399999 57.560922812 60.89858327799999] Averages Time Per Log
docker Driver Times for Minikube (PR 8969): [26.211586856000004 27.026615234 26.865174270000004] Averages Time Per Log
|
This will fix a cloud shell bug
output now: