Class: Bosh::Director::DeploymentPlan::ManifestMigrator
- 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 14 15 16 |
# 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_manifest = cloud_manifest_from_deployment_manifest(manifest_hash) else verify_deployment_without_cloud_config(manifest_hash) cloud_manifest = cloud_config.manifest end [manifest_hash, cloud_manifest] end |