Skip to content

Commit

Permalink
Fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
ggodlewski committed Nov 7, 2024
1 parent 6e90289 commit 09310ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/containers/action/DockerContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ export class DockerContainer implements OciContainer {
});
}

async putFile(configToml: Uint8Array, remotePath: string) {
async putFile(content: Uint8Array, remotePath: string) {
const archive = tarStream.pack();
archive.entry({ name: remotePath }, configToml);
archive.entry({ name: remotePath }, content);
archive.finalize();

const writable = new BufferWritable();
Expand Down
4 changes: 2 additions & 2 deletions src/containers/action/PodmanContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ export class PodmanContainer implements OciContainer {
});
}

async putFile(configToml: Uint8Array, remotePath: string) {
async putFile(content: Uint8Array, remotePath: string) {
const archive = tarStream.pack();
archive.entry({ name: remotePath }, configToml);
archive.entry({ name: remotePath }, content);
archive.finalize();

const writable = new BufferWritable();
Expand Down

0 comments on commit 09310ea

Please sign in to comment.