routing: static check fix, time.Since instead of Now().Sub()
This commit is contained in:
1 parent
4773ae17d9
commit
ebf058a2a5
1 file changed
+1
-1
@@ -228,7 +228,7 @@ func (m *MissionControl) init() error {
|
||||
}
|
||||
|
||||
log.Debugf("Mission control state reconstruction finished: "+
|
||||
"n=%v, time=%v", len(results), time.Now().Sub(start))
|
||||
"n=%v, time=%v", len(results), time.Since(start))
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user