File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
internal/pkg/agent/application/upgrade Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ func (u *Upgrader) SetClient(c fleetclient.Sender) {
109
109
u .log .Debugf ("Set client changed URI to %s" , u .fleetServerURI )
110
110
}
111
111
112
- // Reload reloads the artifact configuration for the upgrader.
112
+ // Reload reloads the artifact download and upgrade configurations for the upgrader.
113
113
// As of today, December 2023, fleet-server does not send most of the configuration
114
114
// defined in artifact.Config, what will likely change in the near future.
115
115
func (u * Upgrader ) Reload (rawConfig * config.Config ) error {
@@ -146,6 +146,7 @@ func (u *Upgrader) Reload(rawConfig *config.Config) error {
146
146
}
147
147
148
148
u .downloadSettings = cfg .Settings .DownloadConfig
149
+ u .upgradeSettings = cfg .Settings .Upgrade
149
150
return nil
150
151
}
151
152
You can’t perform that action at this time.
0 commit comments