Skip to content

Commit 87c1bf8

Browse files
authored
Merge pull request #320 from junpataleta/tagCLRs2
Use proper field separator for parsing available CLRs
2 parents 175395f + 80c4acc commit 87c1bf8

File tree

1 file changed

+3
-3
lines changed
  • tracker_automations/component_leads_integration_mover

1 file changed

+3
-3
lines changed

tracker_automations/component_leads_integration_mover/lib.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,14 @@ function verify_revievers_availability() {
172172
return # Outcome set, we are done.
173173
fi
174174

175-
# There is some component lead reviewer available, let's send the issue to CLR. This check is done.
175+
# There is at least one component lead reviewer available, let's send the issue to CLR. This check is done.
176176
echo " - There are available reviewers (${available}) for the issue."
177177
outcome=CLR
178178
availableProfiles=()
179-
IFS=, read -r -a availableCLRs <<<"$available"
179+
IFS=' ' read -r -a availableCLRs <<<"$available"
180180
for availableCLR in "${availableCLRs[@]}"; do
181181
availableCLR=$(trimstring "$availableCLR")
182-
if [[ -z ${available} ]]; then
182+
if [[ -z ${availableCLR} ]]; then
183183
continue
184184
fi
185185
availableProfiles+=("[~${availableCLR}]")

0 commit comments

Comments
 (0)