When trying to upload an unexisting file to a pod, kubectl currently doesn't print any error message and terminates with a zero exit code. This adds a check and fails explicitly in such cases. Kubernetes-commit: 3fa5b504423f169723b911547cd22ae85da168e0 |
||
---|---|---|
.. | ||
cp.go | ||
cp_test.go |