Skip to content

Commit cdc50de

Browse files
arampriceystros
authored andcommitted
CI: update JSON keys to match new govc convention
Signed-off-by: Brian Upton <[email protected]>
1 parent 6626b6a commit cdc50de

File tree

1 file changed

+1
-1
lines changed
  • ci/tasks/install-windows-updates

1 file changed

+1
-1
lines changed

ci/tasks/install-windows-updates/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ while [[ updates_remaining -ne 0 ]]; do
8181
# ignore failures here since the vmware tools agent may be down while updates are being applied
8282
set +e
8383
get_update_count_pid=$(${govc_pwsh_cmd} "${returnWindowsUpdateCount}")
84-
updates_remaining=$(govc guest.ps -vm.ipath="${vm_ipath}" -l="${vm_username}:${vm_password}" -p="${get_update_count_pid}" -X -json | jq '.ProcessInfo[0].ExitCode')
84+
updates_remaining=$(govc guest.ps -vm.ipath="${vm_ipath}" -l="${vm_username}:${vm_password}" -p="${get_update_count_pid}" -X -json | jq '.processInfo[0].exitCode')
8585
set -e
8686
done
8787
echo "Updates remaining: ${updates_remaining}"

0 commit comments

Comments
 (0)