Skip to content

Commit 7fc5096

Browse files
author
Ubuntu
committed
fix: incorrect json while sending error message in runner group
1 parent 38f519d commit 7fc5096

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ check_fluentbit_status() { #{{{
343343
if ignore_fluentbit_errors; then
344344
debug "Ignoring Fluentbit error(s) $err_msg"
345345
else
346-
err "Fluentbit encountered error(s)" "$err_msg"
346+
err "Fluentbit encountered error(s)" "failed to start fluentbit"
347347
if ! no_clean_on_fail; then
348348
clean_local_setup & spinner "$!" "Starting cleanup"
349349
info "Use --no-clean-on-fail to not clean up after Fluentbit errors are encountered for debugging issues"
@@ -496,7 +496,7 @@ cgroupsv2() { #{{{
496496
#}}}: cgroupsv2
497497

498498
update_runner_group(){
499-
url="${SG_BASE_API}/orgs/${ORGANIZATION_ID}/runnergroups/${RUNNER_GROUP_ID}/"
499+
url="${SG_BASE_API}/orgs/${ORGANIZATION_NAME}/runnergroups/${RUNNER_GROUP_ID}/"
500500

501501
err_msg=$(echo -n "$1" | tr -cd "[:print:]")
502502

0 commit comments

Comments
 (0)