diff options
Diffstat (limited to 'mod/mod-build-result.cxx')
-rw-r--r-- | mod/mod-build-result.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-build-result.cxx b/mod/mod-build-result.cxx index 0574996..d78c45f 100644 --- a/mod/mod-build-result.cxx +++ b/mod/mod-build-result.cxx @@ -238,7 +238,7 @@ handle (request& rq, response&) if (b == nullptr) warn_expired ("no package configuration"); - else if (b->state != build_state::testing) + else if (b->state != build_state::building) warn_expired ("package configuration state is " + to_string (b->state)); else if (b->timestamp != session_timestamp) warn_expired ("non-matching timestamp"); @@ -252,7 +252,7 @@ handle (request& rq, response&) prev_status = move (b->status); - b->state = build_state::tested; + b->state = build_state::built; b->status = rqm.result.status; b->forced = false; |