Skip to content

Commit

Permalink
Merge pull request #32 from spectresystems/feature/GH-31
Browse files Browse the repository at this point in the history
Do not treat unknown build status as changed
  • Loading branch information
patriksvensson committed Jan 31, 2020
2 parents 0bbda2f + 6b0e815 commit 0bae2bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ fn run_observers(
.entry(&observer.info().id)
.or_insert(BuildStatus::Unknown);
let current_status = state.builds.current_status_for_collectors(collectors);
if *previous_status != current_status {
if *previous_status != current_status
&& *previous_status != BuildStatus::Unknown
{
// Status changed so send this to the observer.
propagate_to_observer(
observer,
Expand Down

0 comments on commit 0bae2bb

Please sign in to comment.