Skip to content

Commit

Permalink
download from k8s from cat to cp
Browse files Browse the repository at this point in the history
  • Loading branch information
maorfr committed Sep 3, 2018
1 parent 66c8356 commit aaec564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/skbn/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func DownloadFromK8s(iClient interface{}, path string) ([]byte, error) {
return nil, err
}
namespace, podName, containerName, pathToCopy := initK8sVariables(pSplit)
command := fmt.Sprintf("cat %s", pathToCopy)
command := fmt.Sprintf("cp %s /dev/stdout", pathToCopy)

attempts := 3
attempt := 0
Expand Down

0 comments on commit aaec564

Please sign in to comment.