Remove unused func, var, and const (#928)
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
parent
c9f421d0dd
commit
24a28fcc9e
3 changed files with 0 additions and 11 deletions
|
|
@ -19,7 +19,6 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
|
|
@ -28,10 +27,6 @@ import (
|
|||
"github.com/prometheus/procfs"
|
||||
)
|
||||
|
||||
var (
|
||||
digitRegexp = regexp.MustCompile("[0-9]+")
|
||||
)
|
||||
|
||||
type cpuCollector struct {
|
||||
cpu *prometheus.Desc
|
||||
cpuGuest *prometheus.Desc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue