Skip to content

Commit 4fa9f63

Browse files
committed
Formating the brackets
1 parent b2ba6ba commit 4fa9f63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/com/cloud/api/query/ViewResponseHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,10 @@ public static List<VolumeResponse> createVolumeResponse(ResponseView view, Volum
288288
vrDataList.put(vr.getId(), vrData);
289289

290290
VolumeStats vs = null;
291-
if (vr.getFormat() == ImageFormat.VHD || vr.getFormat() == ImageFormat.QCOW2){
291+
if (vr.getFormat() == ImageFormat.VHD || vr.getFormat() == ImageFormat.QCOW2) {
292292
vs = ApiDBUtils.getVolumeStatistics(vrData.getPath());
293293
}
294-
else if (vr.getFormat() == ImageFormat.OVA){
294+
else if (vr.getFormat() == ImageFormat.OVA) {
295295
if (vrData.getChainInfo() != null) {
296296
vs = ApiDBUtils.getVolumeStatistics(vrData.getChainInfo());
297297
}

0 commit comments

Comments
 (0)