Skip to content

Commit

Permalink
Fix pod.name if log message (#1355)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Chico de Guzman <pchico83@gmail.com>
  • Loading branch information
pchico83 committed Mar 29, 2021
1 parent 11026f9 commit fd7e2c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/up/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ func (up *upContext) checkOktetoStartError(ctx context.Context, msg string) erro
E: fmt.Errorf(msg),
Hint: fmt.Sprintf(`Check your development container logs for errors: 'kubectl logs %s',
Check that your container can write to the destination path of your secrets.
Run 'okteto down -v' to reset your development container and try again`, up.Pod),
Run 'okteto down -v' to reset your development container and try again`, up.Pod.Name),
}
}
return errors.UserError{
E: fmt.Errorf(msg),
Hint: fmt.Sprintf(`Check your development container logs for errors: 'kubectl logs %s'.
Run 'okteto down -v' to reset your development container and try again`, up.Pod),
Run 'okteto down -v' to reset your development container and try again`, up.Pod.Name),
}
}

0 comments on commit fd7e2c8

Please sign in to comment.