(CTTC) Resolve issue with common library and missing import
Reporters
- Lluis Gifre (CTTC)
Description
Missing impoirt of json
library as per: https://labs.etsi.org/rep/tfs/controller/-/jobs/147238#L1330
Log:
File "/var/teraflow/common/tools/grpc/Constraints.py", line 80, in update_constraint_custom_dict
constraint.custom.constraint_value = json.dumps(json_constraint_value, sort_keys=True)
NameError: name 'json' is not defined
Deployment environment
CI/CD
TFS deployment settings
CI/CD
Sequence of actions that resulted in the bug
CI/CD
Document the explicit error
See description.
Expected behaviour
CI/CD to pass
References
None