Skip to content

Commit 71873c8

Browse files
committed
volume-upload: GetUploadParamsForVolume/Template API response in XML format doesn't have POST URL
The URL response parameter didn't have the right name attribute set on it.
1 parent 6598a65 commit 71873c8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎api/src/org/apache/cloudstack/api/response/GetUploadParamsResponse.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ public class GetUploadParamsResponse extends BaseResponse {
3333
@Param(description = "the template/volume ID")
3434
private UUID id;
3535

36-
@Param(name = ApiConstants.URL, description = "POST url to upload the file to")
36+
@SerializedName(ApiConstants.URL)
37+
@Param(description = "POST url to upload the file to")
3738
private URL postURL;
3839

3940
@SerializedName(ApiConstants.METADATA)

0 commit comments

Comments
 (0)