Commit e027b3f
committed
ci: install-windows-updates fix
It appears that the new(er) version of `govc` does not retain/return the
exit code of a process when checking `guest.ps`, so that if a process
that was `guest.start`'ed exits before the process can be checked the
resulting JSON response will not contain an exit code (or at least that
appears to be what is happening).
In stead of breaking out of the loop to check for remaining updates when
there is _any_ response, we now check to see if the response is null or
not.get_windows_updates_remaining loop1 parent 0dfac0b commit e027b3f
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments