Skip to content

Conversation

@gaganyaan2
Copy link
Contributor

Fixed #770 issue

kubectl cp <file-spec-src> <file-spec-dest> file-spec-dest should be filename with path(optional) but It cannot be directory.

Reference for kubectl cp

@aelsabbahy
Copy link
Member

Tagging @joshgav , if this looks good to you, I'll merge.

@joshgav
Copy link
Contributor

joshgav commented Jul 11, 2022

LGTM, the get_pod_file function only copies one file at a time anyway, and this makes that more resilient.

Thanks @koolwithk.

@aelsabbahy aelsabbahy merged commit 62132d1 into goss-org:master Jul 11, 2022
@aelsabbahy
Copy link
Member

Thank you both for your contributions, greatly appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kgoss - error: open .: is a directory

3 participants