aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/sdc/license_model.py
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/onap_client/sdc/license_model.py')
-rw-r--r--onap-client/onap_client/sdc/license_model.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/onap-client/onap_client/sdc/license_model.py b/onap-client/onap_client/sdc/license_model.py
index ed5ba80..ba71527 100644
--- a/onap-client/onap_client/sdc/license_model.py
+++ b/onap-client/onap_client/sdc/license_model.py
@@ -97,6 +97,8 @@ class LicenseModel(Resource):
license_model = self.oc.sdc.license_model.get_license_model(**self.attributes)
self.attributes["tosca"] = license_model.response_data
+ self.oc.cache("license_model", self.license_model_name, "tosca", self.tosca)
+
def _output(self):
return self.tosca