mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Revert changes to win_update
This commit is contained in:
parent
c3ce07355f
commit
047fdc92a8
1 changed files with 0 additions and 6 deletions
|
@ -983,11 +983,7 @@ class WindowsUpdateAgent(object):
|
|||
log.debug("NeedsReboot: %s", ret["NeedsReboot"])
|
||||
|
||||
# Refresh the Updates Table
|
||||
<<<<<<< HEAD
|
||||
self.refresh(online=False)
|
||||
=======
|
||||
self.load_search()
|
||||
>>>>>>> Skip Capability SIDs, don't stack trace
|
||||
|
||||
reboot = {0: "Never Reboot", 1: "Always Reboot", 2: "Poss Reboot"}
|
||||
|
||||
|
@ -1096,5 +1092,3 @@ def needs_reboot():
|
|||
# Create an AutoUpdate object
|
||||
obj_sys = win32com.client.Dispatch("Microsoft.Update.SystemInfo")
|
||||
return salt.utils.data.is_true(obj_sys.RebootRequired)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue