Skip to content

Commit

Permalink
fix: show information message after image pushed to the cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Golovin <dgolovin@redhat.com>
  • Loading branch information
dgolovin authored and gbraad committed Nov 27, 2023
1 parent caccc05 commit 619ab03
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/image-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ export async function pushImageToCrcCluster(image: ImageInfo): Promise<void> {
if (result.exitCode !== 0) {
throw new Error(result.stdErr);
}
extensionApi.window.showNotification({
body: `Image ${image.name} pushed to ${productName} cluster`,
});
extensionApi.window.showInformationMessage(`Image ${image.name} pushed to ${productName} cluster`, 'OK');
} catch (error) {
const errorMessage = error instanceof Error ? error.message : '' + error;
progress.report({
Expand Down

0 comments on commit 619ab03

Please sign in to comment.