Agent.CheckForUpdates
Method | CheckForUpdates |
---|---|
Module | Agent |
Library | Core |
Action | Check whether extensibility (module and provider) updates are available, and if so to download and install them. |
Parameters | (None) |
Return values | |
Example | Agent.CheckForUpdates(); |
Platforms |
|
Notes | WarningExtensibility is deprecated from version 23.5. The method name is slightly misleading because it does not just check for updates but if there are updates available it also downloads and applies them. Because of the way that updates are applied, the method completes before this happens. Therefore if, for example, download of the updates then fails for some reason, the method appears to succeed. To verify that the updates have been applied, run the If If Nomad is not available or fails then the Agent falls back to its internal HTTP provider. |