Skip to content

Commit

Permalink
Updating the view to handle missing test database
Browse files Browse the repository at this point in the history
  • Loading branch information
brenton committed Feb 27, 2015
1 parent 39c89a5 commit 528d69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/main.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h1> Welcome to an OpenShift v3 Demo App! </h1>
</div>

<% if ENV["DATABASE_SERVICE_HOST"].nil? %>
<% if ENV["DATABASE_SERVICE_HOST"].nil? && ENV["DATABASE_TEST_SERVICE_HOST"].nil? %>
<div class="container" align=center>
<h3>(It looks like the database isn't running. This isn't going to be much fun.)</h3>
</div>
Expand Down

0 comments on commit 528d69c

Please sign in to comment.