forked from kanisterio/kanister
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix kube.Exec to not include passed cmd two times (kanisterio#789)
* Fix kube.Exec to not include passed cmd two times Per current implementation if we pass a command to kube.Exec it is being passed twice in query parameter to exec subresource to pod. This PR tries to change that and we will now just have the command once. * Add test for kopia command * Apply suggestions from code review * Add nolint Co-authored-by: Pavan Navarathna <pavan@kasten.io>
- Loading branch information
1 parent
18ee57f
commit 7ab0607
Showing
2 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters