Ommit public_key argument if None 47/9047/2
authorDominik Fleischmann <dominik.fleischmann@canonical.com>
Thu, 21 May 2020 11:55:19 +0000 (13:55 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Tue, 9 Jun 2020 06:48:24 +0000 (08:48 +0200)
commit06bc9df8077a546587aaa6ebca8b9a3dfe512a44
tree869a23cde0a617841c3abc784a563c77320ab22c
parent0a8c9afacca5010da381e6382b01e31dd4e59d23
Ommit public_key argument if None

With newer Juju versions the authorized-keys
argument is expected to not be None, therefore it
now has to be ommited as an argument if thats the
case.

Change-Id: I0adeda2ce71df5505cfaaab98ec237611918d9e7
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
n2vc/k8s_juju_conn.py