Skip to content

Commit

Permalink
Fix typo: Stroage => Storage
Browse files Browse the repository at this point in the history
  • Loading branch information
djds committed Nov 11, 2024
1 parent 5ed88d2 commit 85a17bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ async function isPodmanLocalImageLatest(): Promise<boolean> {
return podmanImageTime > dockerImageTime;
}

async function createDockerPodmanImageStroage(): Promise<void> {
async function createDockerPodmanImageStorage(): Promise<void> {
core.info(`Creating temporary Podman image storage for pulling from Docker daemon`);
dockerPodmanRoot = await fs.promises.mkdtemp(path.join(os.tmpdir(), "podman-from-docker-"));

Expand All @@ -409,7 +409,7 @@ async function createDockerPodmanImageStroage(): Promise<void> {
}
}

async function removeDockerPodmanImageStroage(): Promise<void> {
async function removeDockerPodmanImageStorage(): Promise<void> {
if (dockerPodmanRoot) {
try {
core.info(`Removing temporary Podman image storage for pulling from Docker daemon`);
Expand Down Expand Up @@ -512,11 +512,11 @@ async function execute(

async function main(): Promise<void> {
try {
await createDockerPodmanImageStroage();
await createDockerPodmanImageStorage();
await run();
}
finally {
await removeDockerPodmanImageStroage();
await removeDockerPodmanImageStorage();
}
}

Expand Down

0 comments on commit 85a17bf

Please sign in to comment.