aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-force.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-19 16:19:29 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-19 16:19:29 +0300
commit90a6531951546ae88a695410013b908b50cd6fd0 (patch)
tree441f38bf549354469370ca781801c591dc89aadc /mod/mod-build-force.cxx
parentd1d777fbe517b00544402cc8bdaa99c6550ce417 (diff)
Rename build states to unbuilt, building and built
Diffstat (limited to 'mod/mod-build-force.cxx')
-rw-r--r--mod/mod-build-force.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mod-build-force.cxx b/mod/mod-build-force.cxx
index ed63146..9389566 100644
--- a/mod/mod-build-force.cxx
+++ b/mod/mod-build-force.cxx
@@ -169,7 +169,7 @@ handle (request& rq, response& rs)
// Respond with 409 (conflict) if the package configuration is in
// inappropriate state for being rebuilt.
//
- else if (b->state != build_state::tested)
+ else if (b->state != build_state::built)
throw invalid_request (409, "state is " + to_string (b->state));
if (!b->forced)