cmd/swarm/swarm-smoke: remove wrong metrics (#18970)
This commit is contained in:
committed by
GitHub
parent
f9401ae011
commit
c5c9cef5c0
@ -43,13 +43,6 @@ type uploadResult struct {
|
||||
}
|
||||
|
||||
func slidingWindow(c *cli.Context) error {
|
||||
defer func(now time.Time) {
|
||||
totalTime := time.Since(now)
|
||||
|
||||
log.Info("total time", "time", totalTime)
|
||||
metrics.GetOrRegisterCounter("sliding-window.total-time", nil).Inc(int64(totalTime))
|
||||
}(time.Now())
|
||||
|
||||
generateEndpoints(scheme, cluster, appName, from, to)
|
||||
hashes := []uploadResult{} //swarm hashes of the uploads
|
||||
nodes := to - from
|
||||
|
Reference in New Issue
Block a user