Skip to content

Commit

Permalink
fix(functionality): removed the 'z' from the 'tar' command on the K8.…
Browse files Browse the repository at this point in the history
…copyFrom (#561)

Signed-off-by: instamenta <instamenta@abv.bg>
  • Loading branch information
instamenta authored Sep 11, 2024
1 parent 35a0075 commit 796474b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/k8.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ export class K8 {
const self = this
return new Promise((resolve, reject) => {
const execInstance = new k8s.Exec(this.kubeConfig)
const command = ['tar', 'zcf', '-', '-C', srcDir, srcFile]
const command = ['tar', 'cf', '-', '-C', srcDir, srcFile]
const writerStream = fs.createWriteStream(tmpFile)
const errStream = new sb.WritableStreamBuffer()

Expand Down

0 comments on commit 796474b

Please sign in to comment.