Merge pull request #29118 from xiangpengzhao/fix_reversed_var_order

Automatic merge from submit-queue

Fix reversed order of variables

The order of variables in log is reversed.
This commit is contained in:
k8s-merge-robot 2016-07-19 02:52:25 -07:00 committed by GitHub
commit 0bfaae16a0

View File

@ -1603,7 +1603,7 @@ func (dm *DockerManager) applyOOMScoreAdjIfNeeded(pod *api.Pod, container *api.C
// If current api version is older than OOMScoreAdj requested, use the old way.
if result < 0 {
if err := dm.applyOOMScoreAdj(pod, container, containerInfo); err != nil {
return fmt.Errorf("Failed to apply oom-score-adj to container %q- %v", err, containerInfo.Name)
return fmt.Errorf("Failed to apply oom-score-adj to container %q- %v", containerInfo.Name, err)
}
}