fix: golangci-lint and gosec warnings

This commit is contained in:
volker.raschek committed 2021-05-26 19:47:15 +02:00
1 parent f7bb283784
commit ffbc8a793c
22 files changed
+228 -157

No files matched your search

-2
View File
@@ -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)