projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd808f2
)
Write to DB when creating K8s Proxy Charm
30/9230/1
author
Dominik Fleischmann
<dominik.fleischmann@canonical.com>
Mon, 29 Jun 2020 14:16:28 +0000
(16:16 +0200)
committer
garciadav
<david.garcia@canonical.com>
Tue, 30 Jun 2020 10:17:42 +0000
(12:17 +0200)
This commit adds a call to _write_ee_id_db so
that the DB is updated the same way as in LXD
Proxy Charms.
Change-Id: I7ecd815b1a5fbbb0b0222300da39ca99cb6ae584
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
(cherry picked from commit
7ace6faf03350236447f49ea6435e271a3f84aae
)
n2vc/n2vc_juju_conn.py
patch
|
blob
|
history
diff --git
a/n2vc/n2vc_juju_conn.py
b/n2vc/n2vc_juju_conn.py
index
ed1250d
..
07c3903
100644
(file)
--- a/
n2vc/n2vc_juju_conn.py
+++ b/
n2vc/n2vc_juju_conn.py
@@
-577,6
+577,9
@@
class N2VCJujuConnector(N2VCConnector):
application_name=application_name,
machine_id="k8s",
)
+
+ self._write_ee_id_db(db_dict=db_dict, ee_id=ee_id)
+
return ee_id
async def get_ee_ssh_public__key(