-
Notifications
You must be signed in to change notification settings - Fork 607
Cortex support #491
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
Cortex support #491
Conversation
cli/cmd/support.go
Outdated
var supportCmd = &cobra.Command{ | ||
Use: "support", | ||
Short: "request support from cortex developers", | ||
Long: ` | ||
This command sends a support request to Cortex developers.`, | ||
Run: func(cmd *cobra.Command, args []string) { | ||
support := &Support{} | ||
err := cr.ReadPrompt(support, getSupportRequest()) | ||
support := &SupportRequest{} |
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.
nit: maybe supportRequest
cli/cmd/support.go
Outdated
@@ -90,10 +90,10 @@ This command sends a support request to Cortex maintainers.`, | |||
defer resp.Body.Close() | |||
|
|||
if resp.StatusCode < 200 || resp.StatusCode >= 300 { | |||
fmt.Println("Thanks for letting us know, we will get back to you soon at " + support.EmailAddress) | |||
fmt.Println("Failed to send request, please file an issue on GitHub: https://github.com/cortexlabs/cortex") |
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.
nit: "Failed to send request, please file an issue on GitHub (https://github.com/cortexlabs/cortex) or email us at [email protected]"
Closes #
Checklist:
make test
andmake lint
cx refresh
)summary.md
)