From: Guillermo Calvino Date: Fri, 19 Aug 2022 07:47:32 +0000 (+0200) Subject: Fix bug 2145: Wrong VCA data in new sidecar MON charm X-Git-Tag: release-v13.0-start~46 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=7da7a3343ea03386d498eaa6b6a93eb3f770d6cd;p=osm%2Fdevops.git Fix bug 2145: Wrong VCA data in new sidecar MON charm Change-Id: Ib24c54cffd158f6ae4397311becc3769a1cce543 Signed-off-by: Guillermo Calvino --- 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",