Skip to content

Commit

Permalink
Update SaveVmExternalDataCommand.java
Browse files Browse the repository at this point in the history
Fix typo in method name. 
isUEFI -> isUefi
  • Loading branch information
antonios-f authored Nov 27, 2023
1 parent c734177 commit b379440
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private boolean hasTpmDevice() {
return !vmDeviceDao.getVmDeviceByVmIdAndType(getParameters().getVmId(), VmDeviceGeneralType.TPM).isEmpty();
}

private boolean isUEFI() {
private boolean isUefi() {
return getVm().getBiosType().isOvmf()
&& FeatureSupported.isNvramPersistenceSupported(getVm().getCompatibilityVersion());
}
Expand Down Expand Up @@ -79,7 +79,7 @@ protected void executeCommand() {
if (hasTpmDevice()) {
dataToRetrieve.add(VmExternalDataKind.TPM);
}
if (isUEFI()) {
if (isUefi()) {
dataToRetrieve.add(VmExternalDataKind.NVRAM);
}

Expand Down

0 comments on commit b379440

Please sign in to comment.