Greg Padgett has posted comments on this change. Change subject: broker: accept empty success messages ......................................................................
Patch Set 1: (1 comment) http://gerrit.ovirt.org/#/c/25621/1/ovirt_hosted_engine_ha/lib/brokerlink.py File ovirt_hosted_engine_ha/lib/brokerlink.py: Line 185: On success, returns the result without the "success" prefix. Line 186: """ Line 187: response = self._communicate(request) Line 188: parts = response.split(" ", 1) Line 189: if parts[0] == "success": > this will raise exception if parts = [] Thanks Sandro, done. Line 190: self._log.debug("Successful response from socket") Line 191: return parts[1] Line 192: else: Line 193: self._log.debug("Failed response from socket") -- To view, visit http://gerrit.ovirt.org/25621 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I5024c05f592d1bae46ebb759f30c600faf964596 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-hosted-engine-ha Gerrit-Branch: master Gerrit-Owner: Greg Padgett <gpadg...@redhat.com> Gerrit-Reviewer: Greg Padgett <gpadg...@redhat.com> Gerrit-Reviewer: Martin Sivák <msi...@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches