Commit Graph

2 Commits (546b28ac5f1cba93be2260ca7121f98f355bae74)

Author SHA1 Message Date
WanLinghao c00f9bc140 fix kubectl cp command error.
it happens when copy directory to pod and the directory
path ends with '/'.
for example:
kubectl cp /XX/XX/ XX-POD:/XX/XX

modified:  pkg/kubectl/cmd/cp.go
modified:  pkg/kubectl/cmd/cp_test.go
2017-09-11 17:22:13 +08:00
Brendan Burns d65757fb88 add kubectl cp 2016-10-29 20:24:54 -07:00