From 5dfd44ca88a065f59fafa7c6640f70258fd789df Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 1 Nov 2018 01:08:30 +0000 Subject: [PATCH] Koji host configuration was split to versioned host_config table --- playbooks/manual/staging-sync/templates/koji-reset-staging.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql index 5f0028b124..5858793366 100644 --- a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql +++ b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql @@ -65,7 +65,7 @@ select now() as time, 'expiring active buildroots' as msg; update standard_buildroot set state=3, retire_event=get_event() where state=0; -- enable/disable hosts -update host set enabled=False; +update host_config set enabled=False where active; -- fix host_channels truncate host_channels;