[vsphere|compute] Small code cleanup.