Skip to content

Commit ce0d334

Browse files
committed
allow updating backup offering when only domain id is modified
1 parent 76929ab commit ce0d334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/apache/cloudstack/backup/BackupManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@ public BackupOffering updateBackupOffering(UpdateBackupOfferingCmd updateBackupO
22342234
logger.warn(String.format("Couldn't update Backup offering (%s) with [%s].", backupOfferingVO, String.join(", ", fields)));
22352235
}
22362236

2237-
if (success) {
2237+
if (success || fields.isEmpty()) {
22382238
List<Long> existingDomainIds = backupOfferingDetailsDao.findDomainIds(id);
22392239
Collections.sort(existingDomainIds);
22402240
updateBackupOfferingDomainDetails(id, filteredDomainIds, existingDomainIds);

0 commit comments

Comments
 (0)