diff --git a/src/extension.ts b/src/extension.ts index f1d5a9ac..ead820b8 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -38,7 +38,7 @@ import { commandManager } from './command'; import { registerOpenConsoleCommand } from './crc-console'; import { registerLogInCommands } from './login-commands'; import { defaultLogger } from './logger'; -import { moveImageToCrcCluster as pushImageToCrcCluster } from './image-handler'; +import { pushImageToCrcCluster } from './image-handler'; const CRC_PUSH_IMAGE_TO_CLUSTER = 'crc.image.push.to.cluster'; diff --git a/src/image-handler.ts b/src/image-handler.ts index 5d1f343b..f54fa093 100644 --- a/src/image-handler.ts +++ b/src/image-handler.ts @@ -24,7 +24,7 @@ import { getPodmanCli } from './podman-cli'; type ImageInfo = { engineId: string; name?: string; tag?: string }; -export async function moveImageToCrcCluster(image: ImageInfo): Promise { +export async function pushImageToCrcCluster(image: ImageInfo): Promise { if (!image.name) { throw new Error('Image selection not supported yet'); }