Remove manual timestamp from compatibility warnings
This commit is contained in:
@@ -152,11 +152,7 @@ func (issue *appIssue) notify(proc *process.Process) {
|
|||||||
p.Lock()
|
p.Lock()
|
||||||
defer p.Unlock()
|
defer p.Unlock()
|
||||||
|
|
||||||
p.Warning = fmt.Sprintf(
|
p.Warning = fmt.Sprintf(issue.message, p.Name)
|
||||||
"%s \nThis was last detected at %s.",
|
|
||||||
fmt.Sprintf(issue.message, p.Name),
|
|
||||||
time.Now().Format("15:04 on 2.1.2006"),
|
|
||||||
)
|
|
||||||
p.WarningLastUpdated = time.Now()
|
p.WarningLastUpdated = time.Now()
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user