From 5a63890ab90dbc6fb28d4fe08623763ae8e4a3f1 Mon Sep 17 00:00:00 2001 From: Yevhen Vydolob Date: Thu, 4 May 2023 15:50:45 +0300 Subject: [PATCH] fix renaming Signed-off-by: Yevhen Vydolob --- src/extension.ts | 2 +- src/image-handler.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index f1d5a9a..ead820b 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 5d1f343..f54fa09 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'); }