Fix bug 1002 35/8535/1
authorAdam Israel <adam.israel@canonical.com>
Wed, 29 Jan 2020 14:35:35 +0000 (09:35 -0500)
committerisraelad <adam.israel@canonical.com>
Wed, 29 Jan 2020 16:40:23 +0000 (17:40 +0100)
commitd7a3b50594a60e55bdafb20c5c6fa5b2396f2cec
tree5fb22317b7369e55049270b228dde589beccad7c
parentf2c51f9717e2195e9283e07971c71be135e61a2b
Fix bug 1002

This patch fixes bug 1002 by using the async-friendly `asyncio.create_subprocess_exec` instead of `subprocess.run`.

Change-Id: Ie290e3f879ee83345c0b783116ef2f1e8982e537
Signed-off-by: Adam Israel <adam.israel@canonical.com>
(cherry picked from commit 3419aba44ae1829dab01b9eceb39a0425e8af973)
n2vc/k8s_juju_conn.py