Change in vdsm[master]: jobs: Rename the FAILED constant to "failed"

nsoffer at redhat.com nsoffer at redhat.com
Tue Dec 15 10:07:43 UTC 2015


Nir Soffer has uploaded a new change for review.

Change subject: jobs: Rename the FAILED constant to "failed"
......................................................................

jobs: Rename the FAILED constant to "failed"

For consistency with other status values, as describe in the
HostJobStatus schema.

Change-Id: I047ed344867d461d7343e929f9756f798f487b4c
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M lib/vdsm/jobs.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/03/50503/1

diff --git a/lib/vdsm/jobs.py b/lib/vdsm/jobs.py
index b971c46..77653dc 100644
--- a/lib/vdsm/jobs.py
+++ b/lib/vdsm/jobs.py
@@ -32,7 +32,7 @@
     RUNNING = 'running'  # Job is running
     DONE = 'done'        # Job has finished successfully
     ABORTED = 'aborted'  # Job was aborted by user request
-    FAILED = 'error'     # Job has failed
+    FAILED = 'failed'    # Job has failed
 
 
 class ClientError(Exception):


-- 
To view, visit https://gerrit.ovirt.org/50503
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I047ed344867d461d7343e929f9756f798f487b4c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>


More information about the vdsm-patches mailing list