Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue a07298ce54 Merge pull request #46608 from fabianofranz/fixes_kubectl_cache_on_windows
Automatic merge from submit-queue (batch tested with PRs 46552, 46608, 46390, 46605, 46459)

Fixes kubectl cached discovery on Windows

Fixes https://github.com/kubernetes/kubectl/issues/18

The `kubectl` cached discovery makes use of `func (f *File) Chmod(mode FileMode) error` which is not supported and errors out on Windows, making `kubectl get` and potentially a number of other commands to fail miserably on that platform. `os.Chmod` by file name, on the other hand, does not error out and should be used instead.

**Release note**:

```release-note
NONE
```
@deads2k @brendandburns @kubernetes/sig-cli-pr-reviews
2017-05-30 08:41:54 -07:00
..
2017-05-24 10:01:45 +08:00
2017-05-19 10:56:35 +08:00
2017-05-18 16:48:13 -07:00
2017-05-11 20:09:31 +08:00
2017-05-18 16:48:13 -07:00
2017-05-18 16:48:13 -07:00
2017-05-15 13:51:39 -07:00