Hello Ayal Baron, Bala.FA, Saggi Mizrahi, Dan Kenigsberg,
I'd like you to do a code review. Please visit
http://gerrit.ovirt.org/19956
to review the following change.
Change subject: gluster: fix missing error code error during jenkins build
..
gluster: fix missing error code error during jenkins build
Remove unused error codes:
4162, 4163, 4164, 4165
from vdsm/gluster/exception.py
Change-Id: I3364743666c4291ad3f7b72e82fdce89255c7e1a
Signed-off-by: Timothy Asir tjeya...@redhat.com
---
M vdsm/gluster/exception.py
1 file changed, 0 insertions(+), 45 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/56/19956/1
diff --git a/vdsm/gluster/exception.py b/vdsm/gluster/exception.py
index 1d9399f..20c157e 100644
--- a/vdsm/gluster/exception.py
+++ b/vdsm/gluster/exception.py
@@ -356,51 +356,6 @@
message = Volume tasks list failed
-class GlusterTaskNotFoundException(GlusterVolumeException):
-code = 4162
-message = Task not found
-
-def __init__(self, taskId):
-self.taskId = taskId
-s = 'task id: %s' % taskId
-self.err = [s]
-
-
-class GlusterTaskActionNotFoundException(GlusterVolumeException):
-code = 4163
-message = Task action not found
-
-def __init__(self, taskId, action):
-self.taskId = taskId
-self.action = action
-s = 'Action %s not found for task %s' % (action, taskId)
-self.err = [s]
-
-
-class GlusterTaskActionUnsupportedException(GlusterVolumeException):
-code = 4164
-message = Task action unsupported
-
-def __init__(self, taskId, taskType, action):
-self.taskId = taskId
-self.taskType = taskType
-self.action = action
-s = 'Unsupported action %s for task %s and type %s' % \
-(action, taskId, taskType)
-self.err = [s]
-
-
-class GlusterTaskTypeUnknownException(GlusterVolumeException):
-code = 4165
-message = Task type unknown
-
-def __init__(self, taskId, taskType):
-self.taskId = taskId
-self.taskType = taskType
-s = 'Unknown task type %s for task %s' % (taskId, taskType)
-self.err = [s]
-
-
# Host
class GlusterHostException(GlusterException):
code = 4400
--
To view, visit http://gerrit.ovirt.org/19956
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3364743666c4291ad3f7b72e82fdce89255c7e1a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Timothy Asir tjeya...@redhat.com
Gerrit-Reviewer: Ayal Baron aba...@redhat.com
Gerrit-Reviewer: Bala.FA barum...@redhat.com
Gerrit-Reviewer: Dan Kenigsberg dan...@redhat.com
Gerrit-Reviewer: Saggi Mizrahi smizr...@redhat.com
___
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches