Skip to content

Commit 796474b

Browse files
authored
fix(functionality): removed the 'z' from the 'tar' command on the K8.copyFrom (#561)
Signed-off-by: instamenta <[email protected]>
1 parent 35a0075 commit 796474b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/k8.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ export class K8 {
571571
const self = this
572572
return new Promise((resolve, reject) => {
573573
const execInstance = new k8s.Exec(this.kubeConfig)
574-
const command = ['tar', 'zcf', '-', '-C', srcDir, srcFile]
574+
const command = ['tar', 'cf', '-', '-C', srcDir, srcFile]
575575
const writerStream = fs.createWriteStream(tmpFile)
576576
const errStream = new sb.WritableStreamBuffer()
577577

0 commit comments

Comments
 (0)