From 90a6531951546ae88a695410013b908b50cd6fd0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 19 May 2017 16:19:29 +0300 Subject: Rename build states to unbuilt, building and built --- mod/mod-build-force.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/mod-build-force.cxx') 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) -- cgit v1.1