mirror of
https://github.com/compute-blade-community/compute-blade-agent.git
synced 2026-04-21 17:45:43 +02:00
chore(go version)!: Bump go version to 1.24 (#58)
* refactor(workflows): Improve GitHub Action workflows * bump go version to 1.24 * set coverage report baseline to correct workflow * nit: keep same * require older go version * let semantic-prs write to PR * let semantic-prs write to PR * bump go version to 1.24 * bump dependencies --------- Co-authored-by: Cedric Kienzler <cedric@specht-labs.de>
This commit is contained in:
committed by
Cedric Kienzler
parent
ac573c805f
commit
ff6898f514
@@ -48,7 +48,7 @@ func NewLinearFanController(config Config) (FanController, humane.Error) {
|
||||
}
|
||||
|
||||
for _, step := range steps {
|
||||
if step.Percent > 100 || step.Percent < 0 {
|
||||
if step.Percent > 100 {
|
||||
return nil, humane.New("fan percent must be between 0 and 100",
|
||||
fmt.Sprintf("Ensure your fan percentage is 0 < %d < 100", step.Percent),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user