Update VNFD Check to new IM change 57/9257/2
authorDominik Fleischmann <dominik.fleischmann@canonical.com>
Wed, 1 Jul 2020 14:53:02 +0000 (16:53 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 1 Jul 2020 15:53:59 +0000 (17:53 +0200)
After a discussion with the TSC the value that
stated if a proxy charm is deployed on k8s has
changed.

Change-Id: I03b1a99b7fdd0f368ac43a194c78f38b1bd56b15
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
osm_lcm/ns.py

index 3951ae5..f7c06b0 100644 (file)
@@ -1370,7 +1370,7 @@ class NsLcm(LcmBase):
             if deep_get(config_descriptor, ('juju', 'proxy')) is False:
                 is_proxy_charm = False
 
-            if deep_get(config_descriptor, ('juju', 'k8s')) is True and is_proxy_charm:
+            if deep_get(config_descriptor, ('juju', 'cloud')) == 'k8s' and is_proxy_charm:
                 is_k8s_proxy_charm = True
 
             if not is_k8s_proxy_charm: