k3s/pkg
Kubernetes Submit Queue 6571be1311
Merge pull request #60962 from technicianted/flex_race_fix
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Added missing error check that could cause kubelet to crash

**What this PR does / why we need it**:
Adds missing error check. An error can happen due to a race condition when watched files change, or become inaccessible. This can happen if a file was added to the driver directory then quickly removed, in which case the callback will be called with non-nil `err` and nil `info`, which is not checked, causing kubelet to crash.

**Which issue(s) this PR fixes**:
Fixes #60861

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-03-12 16:17:02 -07:00
..
api API Changes for RunAsGroup and Implementation and e2e 2018-02-28 22:09:56 -08:00
apis Merge pull request #61044 from liggitt/subpath-master 2018-03-12 11:51:59 -07:00
auth Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
capabilities Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
client Run hack/update-all.sh 2018-02-26 17:16:14 -08:00
cloudprovider Merge pull request #60772 from feiskyer/const-cleanup 2018-03-12 12:42:34 -07:00
controller Merge pull request #59862 from k82cn/k8s_59194_3 2018-03-11 06:19:27 -07:00
credentialprovider Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
features Merge pull request #61044 from liggitt/subpath-master 2018-03-12 11:51:59 -07:00
fieldpath Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
generated generated 2018-02-27 21:21:14 -08:00
kubeapiserver Merge pull request #55856 from miaoyq/replace-for-with-sets 2018-02-28 00:00:32 -08:00
kubectl fix show-all option description 2018-03-12 10:34:08 +08:00
kubelet Merge pull request #60994 from joejulian/add_remote_flag_option 2018-03-12 15:24:38 -07:00
kubemark add nodeport-addresses flag for kube-proxy 2018-02-26 23:48:46 +08:00
master implement token authenticator for new id tokens 2018-02-27 17:20:46 -08:00
printers Add missing table converters for server side printing 2018-02-28 17:27:45 +01:00
probe Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
proxy Merge pull request #56880 from MrHohn/kube-proxy-ipv6-fix 2018-02-28 00:00:29 -08:00
quota Merge pull request #57375 from tianshapjq/cleanup-useless-func-core/services.go 2018-02-28 01:12:29 -08:00
registry Avoid reallocating of map in PodToSelectableFields 2018-03-07 12:26:02 +01:00
routes Remove /ui/ redirect 2018-02-12 10:54:33 -05:00
scheduler Fix a grammatical error in a comment 2018-03-02 21:30:44 +08:00
security Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
securitycontext API Changes for RunAsGroup and Implementation and e2e 2018-02-28 22:09:56 -08:00
serviceaccount implement token authenticator for new id tokens 2018-02-27 17:20:46 -08:00
ssh Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
util Lock subPath volumes 2018-03-05 09:14:44 +01:00
version Require boilerplate on Bazel Skylark source files 2018-02-16 13:44:04 -08:00
volume Merge pull request #60962 from technicianted/flex_race_fix 2018-03-12 16:17:02 -07:00
watch/json
windows/service Add support for binaries to run as Windows services 2018-03-07 00:51:36 +01:00
.import-restrictions
BUILD Add support for binaries to run as Windows services 2018-03-07 00:51:36 +01:00
OWNERS