mirror of https://github.com/jetkvm/kvm.git
chore: remove redundant s.updating = false assignment, as it's already set in the componentUpdateError function
This commit is contained in:
parent
aee9940476
commit
7c79b3e514
|
|
@ -181,7 +181,6 @@ func (s *State) doUpdate(ctx context.Context, params UpdateParams) error {
|
|||
|
||||
appUpdate, systemUpdate, err := s.getUpdateStatus(ctx, params)
|
||||
if err != nil {
|
||||
s.updating = false
|
||||
return s.componentUpdateError("Error checking for updates", err, &scopedLogger)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue