Skip to content

Commit

Permalink
fix(plugins/plugin-client-common): reduce verbosity of logging in Eva…
Browse files Browse the repository at this point in the history
…l.tsx

Fixes kubernetes-sigs#4829
  • Loading branch information
starpit committed Jun 6, 2020
1 parent 725aae5 commit 03876db
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions plugins/plugin-client-common/src/components/Content/Eval.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

import * as React from 'react'
import * as Debug from 'debug'

import {
ScalarResource,
Expand All @@ -33,8 +32,6 @@ import {
import { Loading } from '../../'
import KuiMMRContent, { KuiMMRProps } from './KuiContent'

const debug = Debug('plugins/sidecar/Eval')

interface EvalProps extends Omit<KuiMMRProps, 'mode'> {
command: string | FunctionThatProducesContent
contentType?: SupportedStringContent
Expand Down Expand Up @@ -81,7 +78,6 @@ export default class Eval extends React.PureComponent<EvalProps, EvalState> {

private startLoading() {
const done = (content: ScalarResource) => {
debug('eval done', content)
this.setState({ isLoading: false, content })
}

Expand Down

0 comments on commit 03876db

Please sign in to comment.