Skip to content

Commit

Permalink
fixed IF condition for matches_length
Browse files Browse the repository at this point in the history
  • Loading branch information
asanzgom committed Nov 29, 2024
1 parent e1d0a9d commit 78ef466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ods_ci/tests/Resources/RHOSi.resource
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Fetch Cluster Type By Domain
[Documentation] This Keyword outputs the kind of cluster depending on the console URL domain
${matches}= Get Regexp Matches ${OCP_CONSOLE_URL} rh-ods
${matches_len}= Get Length ${matches}
IF '${matches_len}' == '${EMPTY}'
IF '${matches_len}' == 0
Set Global Variable ${CLUSTER_TYPE} managed
ELSE
${domain}= Get From List ${matches} 0
Expand Down

0 comments on commit 78ef466

Please sign in to comment.