mirror of https://gitee.com/openkylin/libvirt.git
Indent top-level labels by one space in src/esx/
This commit is contained in:
parent
dc7238f518
commit
2bd4a172b1
|
@ -4163,7 +4163,7 @@ esxDomainIsPersistent(virDomainPtr domain)
|
|||
|
||||
result = 1;
|
||||
|
||||
cleanup:
|
||||
cleanup:
|
||||
esxVI_ObjectContent_Free(&virtualMachine);
|
||||
|
||||
return result;
|
||||
|
@ -4190,7 +4190,7 @@ esxDomainIsUpdated(virDomainPtr domain ATTRIBUTE_UNUSED)
|
|||
|
||||
result = 0;
|
||||
|
||||
cleanup:
|
||||
cleanup:
|
||||
esxVI_ObjectContent_Free(&virtualMachine);
|
||||
|
||||
return result;
|
||||
|
@ -4460,7 +4460,7 @@ esxDomainSnapshotNumChildren(virDomainSnapshotPtr snapshot, unsigned int flags)
|
|||
count = esxVI_GetNumberOfSnapshotTrees(snapshotTree->childSnapshotList,
|
||||
recurse, leaves);
|
||||
|
||||
cleanup:
|
||||
cleanup:
|
||||
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotTreeList);
|
||||
|
||||
return count;
|
||||
|
@ -4517,7 +4517,7 @@ esxDomainSnapshotListChildrenNames(virDomainSnapshotPtr snapshot,
|
|||
result = esxVI_GetSnapshotTreeNames(snapshotTree->childSnapshotList,
|
||||
names, nameslen, recurse, leaves);
|
||||
|
||||
cleanup:
|
||||
cleanup:
|
||||
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotTreeList);
|
||||
|
||||
return result;
|
||||
|
@ -4618,7 +4618,7 @@ esxDomainSnapshotGetParent(virDomainSnapshotPtr snapshot, unsigned int flags)
|
|||
|
||||
parent = virGetDomainSnapshot(snapshot->domain, snapshotTreeParent->name);
|
||||
|
||||
cleanup:
|
||||
cleanup:
|
||||
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
|
||||
|
||||
return parent;
|
||||
|
@ -4685,7 +4685,7 @@ esxDomainSnapshotIsCurrent(virDomainSnapshotPtr snapshot, unsigned int flags)
|
|||
|
||||
ret = STREQ(snapshot->name, currentSnapshotTree->name);
|
||||
|
||||
cleanup:
|
||||
cleanup:
|
||||
esxVI_VirtualMachineSnapshotTree_Free(¤tSnapshotTree);
|
||||
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
|
||||
return ret;
|
||||
|
@ -4717,7 +4717,7 @@ esxDomainSnapshotHasMetadata(virDomainSnapshotPtr snapshot, unsigned int flags)
|
|||
|
||||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
cleanup:
|
||||
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
|
||||
return ret;
|
||||
}
|
||||
|
@ -5168,7 +5168,7 @@ esxConnectListAllDomains(virConnectPtr conn,
|
|||
doms = NULL;
|
||||
ret = count;
|
||||
|
||||
cleanup:
|
||||
cleanup:
|
||||
if (doms) {
|
||||
for (id = 0; id < count; id++) {
|
||||
virDomainFree(doms[id]);
|
||||
|
|
Loading…
Reference in New Issue