From: Dominik Fleischmann Date: Mon, 29 Jun 2020 14:16:28 +0000 (+0200) Subject: Write to DB when creating K8s Proxy Charm X-Git-Tag: release-v9.0-start~45 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F9216%2F1;p=osm%2FN2VC.git Write to DB when creating K8s Proxy Charm 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 --- diff --git a/n2vc/n2vc_juju_conn.py b/n2vc/n2vc_juju_conn.py index ed1250d..07c3903 100644 --- 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(