Rapl node capping daemon #21

Merged
ridv merged 18 commits from raplDaemon into master 2020-01-19 19:52:32 +00:00
Showing only changes of commit 32b8fde575 - Show all commits

View file

@ -34,11 +34,6 @@ func powercapEndpoint(w http.ResponseWriter, r *http.Request) {
pradykaushik commented 2020-01-13 19:11:14 +00:00 (Migrated from github.com)

missing period at the end of the sentence.

missing period at the end of the sentence.
pradykaushik commented 2020-01-13 19:13:15 +00:00 (Migrated from github.com)

missing period at end of sentence.

missing period at end of sentence.
pradykaushik commented 2020-01-13 19:11:14 +00:00 (Migrated from github.com)

missing period at the end of the sentence.

missing period at the end of the sentence.
pradykaushik commented 2020-01-13 19:13:15 +00:00 (Migrated from github.com)

missing period at end of sentence.

missing period at end of sentence.
return
}
if payload.Percentage < 0 || payload.Percentage > 100 {
pradykaushik commented 2020-01-13 19:11:14 +00:00 (Migrated from github.com)

missing period at the end of the sentence.

missing period at the end of the sentence.
pradykaushik commented 2020-01-13 19:13:15 +00:00 (Migrated from github.com)

missing period at end of sentence.

missing period at end of sentence.
http.Error(w, "Bad payload: percentage must be between 0 and 100", 400)
pradykaushik commented 2020-01-13 19:11:14 +00:00 (Migrated from github.com)

missing period at the end of the sentence.

missing period at the end of the sentence.
pradykaushik commented 2020-01-13 19:13:15 +00:00 (Migrated from github.com)

missing period at end of sentence.

missing period at end of sentence.
return
pradykaushik commented 2020-01-13 19:11:14 +00:00 (Migrated from github.com)

missing period at the end of the sentence.

missing period at the end of the sentence.
pradykaushik commented 2020-01-13 19:13:15 +00:00 (Migrated from github.com)

missing period at end of sentence.

missing period at end of sentence.
}
pradykaushik commented 2020-01-13 19:11:14 +00:00 (Migrated from github.com)

missing period at the end of the sentence.

missing period at the end of the sentence.
pradykaushik commented 2020-01-13 19:13:15 +00:00 (Migrated from github.com)

missing period at end of sentence.

missing period at end of sentence.
pradykaushik commented 2020-01-13 19:11:14 +00:00 (Migrated from github.com)

missing period at the end of the sentence.

missing period at the end of the sentence.
pradykaushik commented 2020-01-13 19:13:15 +00:00 (Migrated from github.com)

missing period at end of sentence.

missing period at end of sentence.
err = capNode(powercapDir, payload.Percentage)
if err != nil {
http.Error(w, err.Error(), 400)

pradykaushik commented 2020-01-13 19:11:14 +00:00 (Migrated from github.com)

missing period at the end of the sentence.

missing period at the end of the sentence.
pradykaushik commented 2020-01-13 19:13:15 +00:00 (Migrated from github.com)

missing period at end of sentence.

missing period at end of sentence.
pradykaushik commented 2020-01-13 19:11:14 +00:00 (Migrated from github.com)

missing period at the end of the sentence.

missing period at the end of the sentence.
pradykaushik commented 2020-01-13 19:13:15 +00:00 (Migrated from github.com)

missing period at end of sentence.

missing period at end of sentence.