fix: golangci-lint and gosec warnings
This commit is contained in:
@ -9,7 +9,6 @@ import (
|
||||
)
|
||||
|
||||
func PrintMeasuredValues(measuredValues []*types.MeasuredValue, w io.Writer) error {
|
||||
|
||||
// declar tabwriter
|
||||
tw := tabwriter.NewWriter(w, 0, 0, 3, ' ', 0)
|
||||
|
||||
@ -29,7 +28,6 @@ func PrintMeasuredValues(measuredValues []*types.MeasuredValue, w io.Writer) err
|
||||
|
||||
// PrintSensors displays a list with all configured sensors
|
||||
func PrintSensors(sensors []*types.Sensor, w io.Writer) error {
|
||||
|
||||
// declar tabwriter
|
||||
tw := tabwriter.NewWriter(w, 0, 0, 3, ' ', 0)
|
||||
|
||||
|
Reference in New Issue
Block a user