Fix the case when mirror trigger builds is not set
What does this MR do and why?
Contributes to #418733 (closed)
Follow-up fix for !146899 (merged)
Problem
Mirror trigger builds can be nil
, in this case to_boolean
method
returns nil
too.
Solution
Use default: false
to prevent this case.
Screenshots
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Create a new group.
- Import a repository by URL with Mirror repository checked under the group.
- Mirroring should be configured if Mirror repository is checked.
Edited by Vasilii Iakliushin