We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 261b208 commit 33c02e7Copy full SHA for 33c02e7
scripts/reboot
@@ -189,7 +189,7 @@ function check_conflict_boot_in_fw_update()
189
function get_dpu_ip()
190
{
191
local DPU_NAME=$1
192
- dpu_ip=$(sonic-db-cli CONFIG_DB HGET "DHCP_SERVER_IPV4_PORT|bridge-midplane|${DPU_NAME}" "ips")
+ dpu_ip=$(sonic-db-cli CONFIG_DB HGET "DHCP_SERVER_IPV4_PORT|bridge-midplane|${DPU_NAME}" "ips@")
193
if [ $? -ne 0 ] || [ -z "$dpu_ip" ]; then
194
echo "Error: Failed to retrieve DPU IP address for ${DPU_NAME}"
195
exit ${EXIT_ERROR}
0 commit comments