~sseman/juju-ci-tools/model-change-watcher-py3-2

« back to all changes in this revision

Viewing changes to assess_model_config_tree.py

  • Committer: Aaron Bentley
  • Date: 2016-10-22 02:03:03 UTC
  • mto: (1674.1.10 indirect-config-4)
  • mto: This revision was merged to the branch mainline in revision 1677.
  • Revision ID: aaron.bentley@canonical.com-20161022020303-de22m9wug4t2chrz
Use provider rather than get_provider.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
    cloud_name = client.env.get_cloud()
80
80
 
81
81
    extra_conf = {
82
 
        'type': client.env.get_provider(),
 
82
        'type': client.env.provider,
83
83
        'regions': {client.env.get_region(): {}},
84
84
        'config': config_details}
85
85
    client.env.clouds['clouds'][cloud_name] = extra_conf