Skip to content

Commit 2f0ee6d

Browse files
Check backup framework enabled config in zone scope first (before checking in global scope)
1 parent f24b175 commit 2f0ee6d

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
@@ -947,7 +947,7 @@ public boolean configure(String name, Map<String, Object> params) throws Configu
947947
}
948948

949949
public boolean isDisabled(final Long zoneId) {
950-
return !(BackupFrameworkEnabled.value() && BackupFrameworkEnabled.valueIn(zoneId));
950+
return !(BackupFrameworkEnabled.valueIn(zoneId));
951951
}
952952

953953
private void validateForZone(final Long zoneId) {

0 commit comments

Comments
 (0)