Vered Volansky has posted comments on this change.

Change subject: stats: compute the iso prefix asynchronously
......................................................................


Patch Set 2: Looks good to me, but someone else must approve

(1 inline comment)

See minor comment

....................................................
File vdsm/storage/domainMonitor.py
Line 188:             if self.domain is None:
Line 189:                 self.domain = sdCache.produce(self.sdUUID)
Line 190: 
Line 191:             if self.isIsoDomain is None:
Line 192:                 isIsoDomain = self.domain.isISO()
Why not use directly self.isIsoDomain and loose the local variable isIsoDomain 
(and the last assignment)?
Line 193:                 if isIsoDomain:
Line 194:                     self.isoPrefix = 
self.domain.getIsoDomainImagesDir()
Line 195:                 self.isIsoDomain = isIsoDomain
Line 196: 


--
To view, visit http://gerrit.ovirt.org/10305
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I09b7be78da544547a6ed9d5b440bdb0037004c16
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to