mirror of https://github.com/apache/cloudstack.git
bug 7059: Fixed the async output to use the object name
This commit is contained in:
parent
224da7e775
commit
563b45a220
|
|
@ -53,7 +53,7 @@ public class ApiSerializerHelper {
|
|||
Gson gson = ApiGsonHelper.getBuilder().create();
|
||||
Object obj = gson.fromJson(content, clz);
|
||||
if (nameField != null) {
|
||||
((ResponseObject)obj).setResponseName(nameField);
|
||||
((ResponseObject)obj).setObjectName(nameField);
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue