Added controller to ssh fix. (#100)
authorPete Vander Giessen <petevg@gmail.com>
Fri, 31 Mar 2017 13:27:22 +0000 (09:27 -0400)
committerGitHub <noreply@github.com>
Fri, 31 Mar 2017 13:27:22 +0000 (09:27 -0400)
commit088c31421225483fffffe91ef71fcbcb3d2d98ac
treec34fb37d425184f10177f42e2e66deddfa10e79a
parent95c05eaf1dcffffe16a86c80d98dcd19f4aeed45
Added controller to ssh fix. (#100)

If a user has established a link to a controller other than the one in
"focus" locally, our ssh key workaround doesn't work. This change fixes
the issue by adding the controler name to the model name when appropriate.
juju/controller.py