Skip to content

Commit 5f6b79b

Browse files
committed
<fix>[header]: add taskUuid to CancelDownloadFileMsg
Add taskUuid field to CancelDownloadFileOnBackupStorageHostMsg so imagestore agent can locate and cancel the specific file download/upload task by its taskUuid. Resolves: ZSV-11693 Change-Id: I1c19ef972df4289aee784431ceea42e62d07dce8
1 parent a234c69 commit 5f6b79b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

header/src/main/java/org/zstack/header/storage/backup/CancelDownloadFileOnBackupStorageHostMsg.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
public class CancelDownloadFileOnBackupStorageHostMsg extends CancelMessage implements BackupStorageMessage {
66
private String backupStorageUuid;
77
private String backupStorageHostUuid;
8+
private String taskUuid;
89

910
@Override
1011
public String getBackupStorageUuid() {
@@ -22,4 +23,12 @@ public String getBackupStorageHostUuid() {
2223
public void setBackupStorageHostUuid(String backupStorageHostUuid) {
2324
this.backupStorageHostUuid = backupStorageHostUuid;
2425
}
26+
27+
public String getTaskUuid() {
28+
return taskUuid;
29+
}
30+
31+
public void setTaskUuid(String taskUuid) {
32+
this.taskUuid = taskUuid;
33+
}
2534
}

0 commit comments

Comments
 (0)