summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2014-06-18 12:32:30 +0200
committerMichal Minar <miminar@redhat.com>2014-06-20 14:00:17 +0200
commit2f2de126dd6f21ee552fa7dd06a10269e162e71b (patch)
treea753b2ac3760bcdfef3638c69ff6a325a2c77e1f /src
parent2b968faef61f3506b44e27d5e92da5b5ec4a6003 (diff)
downloadopenlmi-providers-2f2de126dd6f21ee552fa7dd06a10269e162e71b.tar.gz
openlmi-providers-2f2de126dd6f21ee552fa7dd06a10269e162e71b.tar.xz
openlmi-providers-2f2de126dd6f21ee552fa7dd06a10269e162e71b.zip
indications: fixed succeeded static filter
Succeeded static filter had wrong constant hardcoded for successful job state.
Diffstat (limited to 'src')
-rw-r--r--src/python/lmi/providers/JobManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/lmi/providers/JobManager.py b/src/python/lmi/providers/JobManager.py
index 602a4b0..4a1927b 100644
--- a/src/python/lmi/providers/JobManager.py
+++ b/src/python/lmi/providers/JobManager.py
@@ -688,7 +688,7 @@ class JobManager(object):
IND_JOB_SUCCEEDED: {
"Query" : "SELECT * FROM LMI_%(prefix)sInstModification WHERE "
"SourceInstance ISA %(classname)s AND "
- "SourceInstance.CIM_ConcreteJob::JobState = 17",
+ "SourceInstance.CIM_ConcreteJob::JobState = 7",
"Description": "Modification of Job State for a "
"Concrete Job to 'Complete'.",
},