Skip to content

Commit

Permalink
removed mstosec func
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Burtasov <[email protected]>
  • Loading branch information
Andrey Burtasov authored and Andrey Burtasov committed Nov 16, 2023
1 parent 3968613 commit 9922f12
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/collector/smb/smb.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,3 @@ func (c *collector) toLabelName(name string) string {
s = strings.ReplaceAll(s, "__", "_")
return s
}

// msToSec converts from ms to seconds
func (c *collector) msToSec(t float64) float64 {
return t / 1000
}

0 comments on commit 9922f12

Please sign in to comment.