From 609fa92e2d04890289de759a62eef4bc09a92d88 Mon Sep 17 00:00:00 2001 From: myan Date: Fri, 31 May 2024 11:51:07 +0000 Subject: [PATCH] format the consumer name Signed-off-by: myan --- test/e2e/setup/e2e_setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/setup/e2e_setup.sh b/test/e2e/setup/e2e_setup.sh index 1858386e..0059ce6b 100755 --- a/test/e2e/setup/e2e_setup.sh +++ b/test/e2e/setup/e2e_setup.sh @@ -79,6 +79,7 @@ sleep 5 # wait 5 seconds for the service ready # the consumer name is not specified, the consumer id will be used as the consumer name export consumer_name=$(curl -k -X POST -H "Content-Type: application/json" https://${external_host_ip}:30080/api/maestro/v1/consumers -d '{}' | jq '.id') +consumer_name=$(echo "$consumer_name" | sed 's/"//g') echo $consumer_name > ./test/e2e/.consumer_name # 6. deploy maestro agent into maestro-agent namespace