printer collector: Use ENUM pattern for printer status (#1500)

This commit is contained in:
Jan-Otto Kröpke
2024-07-23 13:02:09 +02:00
committed by GitHub
parent e2e1141973
commit 64c8423e61
2 changed files with 16 additions and 11 deletions

View File

@@ -9,12 +9,13 @@ import (
"runtime"
"strings"
"github.com/prometheus-community/windows_exporter/pkg/types"
"github.com/alecthomas/kingpin/v2"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/go-ole/go-ole"
"github.com/go-ole/go-ole/oleutil"
"github.com/prometheus-community/windows_exporter/pkg/types"
"github.com/prometheus/client_golang/prometheus"
)