TUN-3100 make updater report the right text
This commit is contained in:
parent
a1a8645294
commit
4f9cfa6542
|
@ -67,7 +67,7 @@ type UpdateOutcome struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (uo *UpdateOutcome) noUpdate() bool {
|
func (uo *UpdateOutcome) noUpdate() bool {
|
||||||
return uo.Error != nil && uo.Updated == false
|
return uo.Error == nil && uo.Updated == false
|
||||||
}
|
}
|
||||||
|
|
||||||
func checkForUpdateAndApply() UpdateOutcome {
|
func checkForUpdateAndApply() UpdateOutcome {
|
||||||
|
|
Loading…
Reference in New Issue