Permalink
Browse files

revert to latest_bosh_stemcell_version to check what's currently in bosh

  • Loading branch information...
1 parent 93ff580 commit aac91f48841969e0c4003fb7165e9dee776633c5 @drnic drnic committed Feb 26, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/bosh/cli/commands/cf.rb
@@ -309,7 +309,7 @@ def confirm_or_upload_stemcell
return
end
end
- unless best_bosh_stemcell_version
+ unless latest_bosh_stemcell_version
if stemcell_name == DEFAULT_STEMCELL_NAME
say "Attempting to upload stemcell #{stemcell_name}..."
upload_stemcell
@@ -350,7 +350,7 @@ def best_bosh_stemcell_version
"0.7.0"
end
- # Largest version number BOSH stemcell ("bosh-stemcell")
+ # Largest version number BOSH stemcell ("bosh-stemcell") uploaded to BOSH
# @return [String] version number, e.g. "0.6.7"
def latest_bosh_stemcell_version
@latest_bosh_stemcell_version ||= begin

0 comments on commit aac91f4

Please sign in to comment.