Nir Soffer has uploaded a new change for review.
Change subject: build: Proving that error_code job is useless
......................................................................
build: Proving that error_code job is useless
Adding new error to vdsm must pass the build. If this patch will fail
the error_codes job, it proves that this job is useless, and it should
be removed.
Checking vdsm error code may be needed as part of engine build, not
vdsm. We do not care if our clients updated their error codes.
Change-Id: Iaf4148cdf286ac694d0aa5fa96e6b302a0fefad9
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
M lib/vdsm/exception.py
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/56/61056/1
diff --git a/lib/vdsm/exception.py b/lib/vdsm/exception.py
index 40d13f5..f173ab3 100644
--- a/lib/vdsm/exception.py
+++ b/lib/vdsm/exception.py
@@ -376,3 +376,8 @@
class HookError(GeneralException):
code = 1500
message = "Hook Error"
+
+
+class FooBarError(GeneralException):
+ code = 1501
+ message = "Foo bar error"
--
To view, visit
https://gerrit.ovirt.org/61056
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf4148cdf286ac694d0aa5fa96e6b302a0fefad9
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer(a)redhat.com>