mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2026-01-27 02:23:03 +00:00
Support older releases in test_service CLI command
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
This commit is contained in:
@@ -427,6 +427,10 @@ test_service() {
|
||||
check_response $result_file
|
||||
USER_ID="$(jq -r '.id' < $result_file)"
|
||||
|
||||
if [[ $USER_ID == null ]]; then
|
||||
USER_ID="$(jq -r '.Id' < $result_file)"
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "-------------"
|
||||
echo "Get test user"
|
||||
|
||||
Reference in New Issue
Block a user