Skip to content
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

Update hints #369

Merged
merged 2 commits into from
Mar 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func renderServiceError(err error, format string, args ...interface{}) error {
case kubevisor.IsKubernetesErr(err):
return errors.Errorf("%s: cluster failed to perform action: %v", fmt.Errorf(format, args...), err)
case kubevisor.IsAlreadyExistsErr(err):
return errors.Errorf("%s: this name is already in use", fmt.Errorf(format, args...))
return errors.Errorf("%s: this name is already in use, please use the list command to see what is already there", fmt.Errorf(format, args...))
case kubevisor.IsNamespaceNotExistsErr(err):
return errors.Errorf("%s: the namespace does not exist or you have no access. If the problem persists, please contact mayday@nerdalize.com.", fmt.Errorf(format, args...))
case kubevisor.IsServiceUnavailableErr(err):
Expand Down
2 changes: 1 addition & 1 deletion cmd/job_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (cmd *JobList) Execute(args []string) (err error) {
return nil
}

cmd.out.Infof("To see the logs of a job, use: `nerd job logs <JOB-NAME>`")
cmd.out.Infof("All your jobs are listed below. To see the logs of a specific job, you can use: `nerd job logs <JOB-NAME>`")
var q *svc.ListQuotaItem
if len(qout.Items) > 0 {
q = qout.Items[0]
Expand Down