Permalink
Browse files

fix bug when showing releases in use

Change-Id: Ibe05400498d6bfd44cb6ad2f3608e21493d8c2a5
  • Loading branch information...
1 parent bcf106f commit e587e07e7aee60a9e7c46b5fba502252c9b324ac @oppegard oppegard committed Oct 17, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −1 cli/lib/cli/commands/release.rb
  2. +0 −1 spec/cli_spec.rb
@@ -162,7 +162,7 @@ def list
nl
say(releases_table)
- say("(*) Currently deployed")
+ say("(*) Currently deployed") if releases_table.to_s =~ /\*/
nl
say("Releases total: %d" % releases.size)
end
View
@@ -323,7 +323,6 @@ def expect_output(cmd, expected_output)
+--------------+----------+
| bosh-release | 0.1-dev |
+--------------+----------+
- (*) Currently deployed
Releases total: 1
OUT

0 comments on commit e587e07

Please sign in to comment.