mirror of
https://github.com/rancher-sandbox/rancher-desktop.git
synced 2021-10-13 00:04:06 +03:00
Related: update old uses of logging/console
- These were done at the same time as logging/console was updated in a different branch Signed-off-by: Eric Promislow <epromislow@suse.com>
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() {
|
||||
|
||||
Reference in New Issue
Block a user