Skip to content

Commit

Permalink
fix variables name in sli.robot
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh3460 committed Feb 1, 2024
1 parent c3395ac commit e6238f2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions codebundles/rds-mysql-conn-count/sli.robot
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ Suite Setup Suite Initialization
Library RW.Core
Library RW.Prometheus

*** Variables ***
${ENV_PROMETHEUS_HOST} %{ENV_PROMETHEUS_HOST}
${ENV_QUERY} %{ENV_QUERY}

*** Keywords ***
Suite Initialization
Expand Down Expand Up @@ -74,8 +71,8 @@ Suite Initialization
Querying Prometheus Instance And Pushing Aggregated Data
Log ${ENV_QUERY}
${rsp}= RW.Prometheus.Query Instant
... api_url=${ENV_PROMETHEUS_HOST}
... query=${ENV_QUERY}
... api_url=${PROMETHEUS_HOSTNAME}
... query=${QUERY}
... step=${STEP}
... target_service=${CURL_SERVICE}
${data}= Set Variable ${rsp["data"]}
Expand Down

0 comments on commit e6238f2

Please sign in to comment.