Liam Young 9d06bb890f Move call to get_juju_model() down to run_in_model
Currently interacting with functions in zaza.model requires the
model to be passed in. This has resulted in multiple calls to
get_juju_model(). It is cleaner to push these calls down into
the model wrapper and make the model_name an optional
argument. In addition, the current model name is now cached
without having to check the os.env each time.

Unfortunately this has resulted in the signature changing on a
great many function so this diff is bigger than would normally
be desirable.
2018-06-14 06:19:26 +01:00
2018-05-30 15:29:45 +01:00
2018-05-30 15:29:45 +01:00
2018-06-05 10:01:54 +00:00
Description
No description provided
Apache-2.0 3.8 MiB
Languages
Python 99.6%
Jinja 0.4%