Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ordering of BuildPlanCheck results
The comment said that GT was better, but for partial and failing snapshots, LT was returned for better results. The snapshot comparison logic was using <=, so this worked for partial and failing snapshots, but not BuildPlanCheckOk.
- Loading branch information
8703722
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@harendra-kumar Is this correct?
8703722
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comparison was wrong but it worked because we never compared Ok with Fail or Partial. We break out of the loop as soon as we find an Ok snapshot. The code is consistent now. Thanks!