mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Replace constants from trace with equivalents defined in teleport (#39307)
* Remove logging from circuit breaker The logging is never output, and if it was would be very verbose. Instead of dropping the level down to trace the logger is removed entirely. * Add constants from trace library The logging functionality in trace is being removed in an upcoming release. To prepare the logging component keys are copied from trace into teleport. * Convert trace.ComponentFields to teleport.ComponentFields * Replace trace.Component with teleport.ComponentKey * Replace trace logging constants
This commit is contained in:
@@ -39,7 +39,7 @@ import (
|
||||
// run as part of normal CI.
|
||||
|
||||
var log = logrus.WithFields(logrus.Fields{
|
||||
trace.Component: teleport.ComponentVersionControl,
|
||||
teleport.ComponentKey: teleport.ComponentVersionControl,
|
||||
})
|
||||
|
||||
// Visit uses the supplied visitor to aggregate release info from the github releases api.
|
||||
|
||||
Reference in New Issue
Block a user