From 7da7a3343ea03386d498eaa6b6a93eb3f770d6cd Mon Sep 17 00:00:00 2001 From: Guillermo Calvino Date: Fri, 19 Aug 2022 09:47:32 +0200 Subject: [PATCH] Fix bug 2145: Wrong VCA data in new sidecar MON charm Change-Id: Ib24c54cffd158f6ae4397311becc3769a1cce543 Signed-off-by: Guillermo Calvino --- installers/charm/osm-mon/src/charm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installers/charm/osm-mon/src/charm.py b/installers/charm/osm-mon/src/charm.py index d926776b..045fd981 100755 --- a/installers/charm/osm-mon/src/charm.py +++ b/installers/charm/osm-mon/src/charm.py @@ -245,9 +245,9 @@ class OsmMonCharm(CharmBase): } if self.vca.data: environment["OSMMON_VCA_HOST"] = self.vca.data.endpoints - environment["OSMMON_VCA_SECRET"] = self.vca.secret - environment["OSMMON_VCA_USER"] = self.vca.user - environment["OSMMON_VCA_CACERT"] = self.vca.cacert + environment["OSMMON_VCA_SECRET"] = self.vca.data.secret + environment["OSMMON_VCA_USER"] = self.vca.data.user + environment["OSMMON_VCA_CACERT"] = self.vca.data.cacert return { "summary": "mon layer", "description": "pebble config layer for mon", -- 2.25.1