Fix ProblemDetails.detail from .details

Field name `details` is used in ProblemDetails Object, but
it should be `detail`. This field missmatch cause
NotImplemntError when failing to instantiate VNF.

This patch fixes the filed 'details' to 'detail' in
ProblemDetails Object.

Closes-Bug: 1905680
Change-Id: I71b333dc05f2195dacb478f3f0bc442dac9c5691
This commit is contained in:
Kenta Fukaya 2020-12-03 08:29:53 +09:00
parent 9e08ffb31c
commit 8c6a1cb179

View File

@ -1388,7 +1388,7 @@ class Conductor(manager.Manager):
error_details = objects.ProblemDetails(
context=context,
status=500,
details=error
detail=error
)
vnf_notif.error = error_details
vnf_notif.save()