Skip to content

Commit

Permalink
Update updater.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkadius committed Jun 1, 2024
1 parent 1546119 commit e13b712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/updater/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (s *Updater) getAppVersion() (error, EnvResponse) {
// CheckForUpdates checks for updates to the app
func (s *Updater) CheckForUpdates(interactive bool) bool {
config, exists := s.serverconfig.GetIfExists()
if exists && config.Spire.DisableAutoUpdates {
if exists && config.Spire.DisableAutoUpdates && interactive {
s.logger.Info().Any("spire.disable_auto_updates", config.Spire.DisableAutoUpdates).Msg("Auto updates are disabled via config")
return false
}
Expand Down

0 comments on commit e13b712

Please sign in to comment.