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

Commit

Permalink
revert to latest_bosh_stemcell_version to check what's currently in bosh
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Feb 26, 2013
1 parent 93ff580 commit aac91f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bosh/cli/commands/cf.rb
Expand Up @@ -309,7 +309,7 @@ def confirm_or_upload_stemcell
return return
end end
end end
unless best_bosh_stemcell_version unless latest_bosh_stemcell_version
if stemcell_name == DEFAULT_STEMCELL_NAME if stemcell_name == DEFAULT_STEMCELL_NAME
say "Attempting to upload stemcell #{stemcell_name}..." say "Attempting to upload stemcell #{stemcell_name}..."
upload_stemcell upload_stemcell
Expand Down Expand Up @@ -350,7 +350,7 @@ def best_bosh_stemcell_version
"0.7.0" "0.7.0"
end 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" # @return [String] version number, e.g. "0.6.7"
def latest_bosh_stemcell_version def latest_bosh_stemcell_version
@latest_bosh_stemcell_version ||= begin @latest_bosh_stemcell_version ||= begin
Expand Down

0 comments on commit aac91f4

Please sign in to comment.