openshift/os-client-tools — pull request #89 by nhr (2012-07-06 18:49:06+00:00)
Title: Fixed BZ836177 -  Replaced error message for invalid domain name

Our CLI interactions are based on a gem called 'commander', which in turn uses a gem called 'highline' to handle question-and-answer sequences. Highline's default behavior is to show the question's validation rule as part of its error message feedback.

In this case, the validation rule happens to be a Proc, and so the resultant default error message is nonsensical.

I've fixed the problem by setting an understandable response value for the question and providing some formatting cues for good visual presentation. Additionally, I've removed a redundant block of code by adding a condition to the question's 'while' loop.