~rogpeppe/juju-core/492-sshinit-log-stdout

Viewing all changes in revision 2253.

  • Committer: Tarmac
  • Author(s): Andrew Wilkins
  • Date: 2014-01-24 02:56:08 UTC
  • mfrom: (2250.1.2 local-provider-fixes)
  • Revision ID: tarmac-20140124025608-vauzgxzal18v0g05
[r=axwalk] provider/local: fix namespace, destroy

There was an error in the namespace attribute check.
We must check that it is either "" or nil.

When Destroy() is called, it calls the CLI again with sudo.
We must pass -y to prevent juju from prompting the user.

https://codereview.appspot.com/56260044/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: