mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
This commit is contained in:
@@ -82,7 +82,7 @@ func applyOOMScoreAdj(pid int, oomScoreAdj int) error {
|
||||
if syscallNotExists(err) {
|
||||
return os.ErrNotExist
|
||||
}
|
||||
err = fmt.Errorf("failed to apply oom-score-adj to pid %d (%v)", err)
|
||||
err = fmt.Errorf("failed to apply oom-score-adj to pid %d (%v)", pid, err)
|
||||
}
|
||||
}
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user