Skip to content

Commit

Permalink
webadmin: Mark 'Incremental Backup' flag by default
Browse files Browse the repository at this point in the history
Screenshot: https://imgur.com/a/blTWJqy

When creating a new disk on the UI, the incremental backup flag should
be checked by default.

Bug-Url: https://bugzilla.redhat.com/1915029
Signed-off-by: Shani Leviim <sleviim@redhat.com>
  • Loading branch information
sleviim committed Jun 21, 2022
1 parent b4dda15 commit ead3a39
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,9 @@ public AbstractDiskModel() {
getIsSgIoUnfiltered().setEntity(false);
getIsSgIoUnfiltered().getEntityChangedEvent().addListener(this);

// Incremental backup flag should be enabled by default (BZ 1915029)
setIsIncrementalBackup(new EntityModel<>());
getIsIncrementalBackup().setEntity(false);
getIsIncrementalBackup().setEntity(true);

setDiskStorageType(new EntityModel<>());
getDiskStorageType().setEntity(DiskStorageType.IMAGE);
Expand Down

0 comments on commit ead3a39

Please sign in to comment.