Dan Kenigsberg has posted comments on this change.
Change subject: Change storageServer to handle numeric connection values
......................................................................
Patch Set 4: I would prefer that you didn't submit this
(2 inline comments)
....................................................
File vdsm/storage/storageServer.py
Line 242: self.addIntegerOption(options, "timeo", timeout)
frankly, I've preferred patchset1...
If Ayal insists on validating that values are int, then fine.
HOWEVER, addIntegerOption must not be in the public API of storageServer. you can call it
_appendIntegerOption.
Consider making it a local function, as it has nothing to do with self.
Line 249: def addIntegerOption(self, options, optionKey, optionValue):
"option" is repeated too often here. I'd call the args (key, value) for
shortness.
--
To view, visit
http://gerrit.ovirt.org/5062
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I4d1716a6f66a108d60f39fad14d92625a692d0e3
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Eduardo <ewarszaw(a)redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>