Skip to content

Commit 5a1dcdc

Browse files
vvolamgpunathilell
andauthored
Update scripts/reboot
Co-authored-by: Gagan Punathil Ellath <[email protected]>
1 parent 7792b3e commit 5a1dcdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/reboot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function check_conflict_boot_in_fw_update()
189189
function get_dpu_ip()
190190
{
191191
local DPU_NAME=$1
192-
dpu_ip=$(sonic-db-cli CONFIG_DB HGET "DHCP_SERVER_IPV4_PORT|bridge-midplane|${DPU_NAME}" "ips")
192+
dpu_ip=$(sonic-db-cli CONFIG_DB HGET "DHCP_SERVER_IPV4_PORT|bridge-midplane|${DPU_NAME}" "ips@")
193193
if [ $? -ne 0 ] || [ -z "$dpu_ip" ]; then
194194
echo "Error: Failed to retrieve DPU IP address for ${DPU_NAME}"
195195
exit ${EXIT_ERROR}

0 commit comments

Comments
 (0)