diff --git a/lib/abf_worker/publish_observer.rb b/lib/abf_worker/publish_observer.rb index 56dee3ac3..a6166535a 100644 --- a/lib/abf_worker/publish_observer.rb +++ b/lib/abf_worker/publish_observer.rb @@ -36,7 +36,7 @@ module AbfWorker update_results build_list case status when COMPLETED - # 'update_column' - when build_list has been removed from repository + # 'update_column' - when project of build_list has been removed from repository build_list.published || build_list.update_column(:status, BuildList::BUILD_PUBLISHED) when FAILED, CANCELED build_list.fail_publish || build_list.update_column(:status, BuildList::FAILED_PUBLISH)