diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-09-04 11:21:49 +0200 |
---|---|---|
committer | Maciej Wereski <m.wereski@partner.samsung.com> | 2017-09-20 10:50:36 +0200 |
commit | 310e803740d2cadf35e42dfef2c4c8844a13c50d (patch) | |
tree | c221ac7c7e40203736615b997ffa3a9629729b1c /boruta.go | |
parent | 402270e1b97b5a5845a9e6402f3dc2cb8840cf35 (diff) | |
download | boruta-310e803740d2cadf35e42dfef2c4c8844a13c50d.tar.gz boruta-310e803740d2cadf35e42dfef2c4c8844a13c50d.tar.bz2 boruta-310e803740d2cadf35e42dfef2c4c8844a13c50d.zip |
Fix type of WorkerState constants
For unknown reason only the first value defined in the const block had
type WorkerState, all subsequent definitions had type string.
Change-Id: I1320a8a94525f08f37e14b79188bcfdac0048b0e
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Reviewed-on: https://mcdsrvbld02.digital.local/review/49430
Reviewed-by: Maciej Wereski <m.wereski@partner.samsung.com>
Tested-by: Maciej Wereski <m.wereski@partner.samsung.com>
Diffstat (limited to 'boruta.go')
-rw-r--r-- | boruta.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -53,11 +53,11 @@ const ( // MAINTENANCE - Worker will not be assigned any Jobs. MAINTENANCE WorkerState = "MAINTENANCE" // IDLE - Worker is waiting for the Job. - IDLE = "IDLE" + IDLE WorkerState = "IDLE" // RUN - Job is currently being executed on the Worker. - RUN = "RUNNING" + RUN WorkerState = "RUNNING" // FAIL - An error occured, reported by the Worker itself or the Server. - FAIL = "FAILED" + FAIL WorkerState = "FAILED" ) // Capabilities describe the features provided by the Worker and required by the Request. |