Merge pull request #746 from rancher-sandbox/s-kim-images

no more kim.log please
This commit is contained in:
Mark Yen
2021-10-06 18:28:57 -07:00
committed by GitHub
3 changed files with 3 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
import { Buffer } from 'buffer';
import { ChildProcess, spawn } from 'child_process';
import { Console } from 'console';
import { EventEmitter } from 'events';
import os from 'os';
import timers from 'timers';
@@ -12,7 +11,7 @@ import LimaBackend from '@/k8s-engine/lima';
const REFRESH_INTERVAL = 5 * 1000;
const APP_NAME = 'rancher-desktop';
const console = new Console(Logging.images.stream);
const console = Logging.images;
/**
* The fields that cover the results of a finished process.

View File

@@ -1,5 +1,4 @@
import { spawn } from 'child_process';
import { Console } from 'console';
import path from 'path';
import Logging from '@/utils/logging';
@@ -7,7 +6,7 @@ import resources from '@/resources';
import * as imageProcessor from '@/k8s-engine/images/imageProcessor';
import * as childProcess from '@/utils/childProcess';
const console = new Console(Logging.images.stream);
const console = Logging.images;
export default class NerdctlImageProcessor extends imageProcessor.ImageProcessor {
protected get processorName() {

View File

@@ -12,7 +12,7 @@ import Logging from '@/utils/logging';
import * as window from '@/window';
import * as K8s from '@/k8s-engine/k8s';
const console = Logging.kim;
const console = Logging.images;
let imageManager: ImageProcessor;
let lastBuildDirectory = '';