mirror of
https://github.com/rancher-sandbox/rancher-desktop.git
synced 2021-10-13 00:04:06 +03:00
Merge pull request #746 from rancher-sandbox/s-kim-images
no more kim.log please
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user