Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Merge pull request #6074 from soltysh/bug1192557
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Feb 13, 2015
2 parents 21780f8 + eb1f5e3 commit 83d07c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/lib/openshift-origin-node/model/v2_cart_model.rb
Expand Up @@ -380,8 +380,8 @@ def post_configure(cartridge_name)
cartridge = get_cartridge(name)

::OpenShift::Runtime::Utils::Cgroups.new(@container.uuid).boost do
if empty_repository?
output << "CLIENT_MESSAGE: An empty Git repository has been created for your application. Use 'git push' to add your code." if cartridge.name == primary_cartridge.name
if cartridge.name == primary_cartridge.name and empty_repository?
output << "CLIENT_MESSAGE: An empty Git repository has been created for your application. Use 'git push' to add your code."
else
output << start_cartridge('start', cartridge, user_initiated: true)
end
Expand Down

0 comments on commit 83d07c0

Please sign in to comment.