diff --git a/consumer/speed_controller.go b/consumer/speed_controller.go index d425bc0..e0a482d 100644 --- a/consumer/speed_controller.go +++ b/consumer/speed_controller.go @@ -8,7 +8,6 @@ import ( "amuz.es/src/infra/cpu_ctrl/processor" "amuz.es/src/infra/cpu_ctrl/logger" "bytes" - "golang.org/x/tools/go/gcimporter15/testdata" ) var ( @@ -66,7 +65,7 @@ func (c *fanControl) StartControl() { if (!compareFanSpeed(fanSpeedList, newFanSpeedList)) { fanSpeedList = newFanSpeedList args := make([]string, 0) - args = append(args,"raw","0x3a", "0x01",) + args = append(args, "raw", "0x3a", "0x01", ) for _, item := range fanSpeedList { args = append(args, fmt.Sprintf("0x%x", item)) }