Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: mehul gautam <mehulsharma4786@gmail.com>
  • Loading branch information
hellspawn679 committed Jun 18, 2024
1 parent 5a54021 commit c822621
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build-spm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build all-in-one
name: Test SPM

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-SPM.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ check_jaeger(){
response=$(curl -s "http://localhost:16686/api/metrics/calls?service=$service&endTs=$(date +%s)000&lookback=1000&step=100&ratePer=60000")
echo "$response"
service_name=$(echo "$response" | jq -r '.metrics[0].labels[] | select(.name=="service_name") | .value')
if [ "$service_name" != $service ]; then
if [ "$service_name" != "$service" ]; then
echo "Service name does not match 'driver'"
exit 1
fi
Expand Down

0 comments on commit c822621

Please sign in to comment.