Class: Bosh::Director::DeploymentPlan::ManifestMigrator

Inherits:
Object
  • Object
show all
Defined in:
lib/bosh/director/deployment_plan/manifest_migrator.rb

Instance Method Summary collapse

Instance Method Details

#migrate(manifest_hash, cloud_config) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'lib/bosh/director/deployment_plan/manifest_migrator.rb', line 5

def migrate(manifest_hash, cloud_config)
  migrate_releases(manifest_hash)

  if cloud_config.nil?
    cloud_config = cloud_manifest_from_deployment_manifest(manifest_hash)
  end

  [manifest_hash, cloud_config]
end