Skip to content

Commit

Permalink
Variable renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
tshalvi committed Aug 26, 2024
1 parent 52e4862 commit 241e3b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -1263,16 +1263,16 @@ collect_mellanox() {
save_cmd "get_component_versions.py" "component_versions"

# Save CMIS-host-management related files
local host_cmis_mgmt_path="cmis-host-mgmt"
local cmis_host_mgmt_path="cmis-host-mgmt"

for file in "${cmis_host_mgmt_files[@]}"; do
if [[ -f "${file}" ]]; then
${CMD_PREFIX}save_file "${file}" "$host_cmis_mgmt_path" false true
${CMD_PREFIX}save_file "${file}" "$cmis_host_mgmt_path" false true
fi
done

if [[ ! -f "${sku_folder}/pmon_daemon_control.json" && -f "${platform_folder}/pmon_daemon_control.json" ]]; then
${CMD_PREFIX}save_file "${platform_folder}/pmon_daemon_control.json" "$host_cmis_mgmt_path" false true
${CMD_PREFIX}save_file "${platform_folder}/pmon_daemon_control.json" "$cmis_host_mgmt_path" false true
fi

save_cmd "show interfaces autoneg status" "autoneg.status"
Expand Down

0 comments on commit 241e3b1

Please sign in to comment.