Files
kubernetes/pkg
Kubernetes Submit Queue e1248bcbbc Merge pull request #42962 from k82cn/fix_min_tolerant_time
Automatic merge from submit-queue

Fixed incorrect result of getMinTolerationTime.

For the following case, `getMinTolerationTime` should return one; but  it returned -1 :
1. for tolerations[0], TolerationSeconds is nil, minTolerationTime is not set 
2. for tolerations[1], it's TolerationSeconds (1) is bigger than `minTolerationTime`, so minTolerationTime is still -1 which means infinite.

```
+		{
+			tolerations: []v1.Toleration{
+				{
+					TolerationSeconds: nil,
+				},
+				{
+					TolerationSeconds: &one,
+				},
+			},
+		},
```
2017-03-12 23:55:39 -07:00
..
API
2017-02-28 23:05:40 -08:00
2017-03-10 07:24:38 +01:00
2017-01-19 09:50:16 -05:00
2017-03-09 07:34:56 +00:00
2017-03-02 10:23:58 +01:00
2017-03-09 18:24:37 -05:00
2017-03-09 18:24:37 -05:00
2017-03-02 08:56:26 +01:00