Merge "Missing targets for reconcile tests in multiple OLTs scenario Precondition for this patch is patch: https://gerrit.opencord.org/c/voltha-system-tests/+/23661 When reconcile tests were introduced for muliple olt scenario it was not noticed there are no targets for. All tests are running in a single onu mode. That means only the first onu of the first olt was checked. With introduction of the new targets requirements of multiple OLT scenario will be full filled."
diff --git a/jjb/shell/tagcollisionreject.sh b/jjb/shell/tagcollisionreject.sh
index 82b4c63..eee4446 100755
--- a/jjb/shell/tagcollisionreject.sh
+++ b/jjb/shell/tagcollisionreject.sh
@@ -83,14 +83,14 @@
 
 # check if the version is already a tag in git
 function is_git_tag_duplicated {
-  while IFS= read -r existing_tag
+  for existing_tag in $existing_tags
   do
     if [ "$TAG_VERSION" = "$existing_tag" ]
     then
       echo "ERROR: Duplicate tag: $existing_tag"
       fail_validation=2
     fi
-  done <<< $existing_tags
+  done
 }
 
 # from https://github.com/cloudflare/semver_bash/blob/master/semver.sh