hunk.code_window: 		Stdout: stdout,
   		Tty:    true,
   	})
   	if err != nil {
   		if _, ok := err.(utilexec.ExitError); !ok {
   			return errors.New("unable to start exec process")
   		}
   	}
  
hunk.labels: keep keep keep keep keep replace keep keep
hunk.after_edit: 			errChan <- errors.New("unable to start exec process")
  
hunk.file_path: api/kubernetes/cli/exec.go
hunk.type: replace
file: import _ from 'lodash-es';
  import { KubernetesComponentStatus } from './models';
  
  export class KubernetesComponentStatusConverter {
    /**
     * Convert API data to KubernetesComponentStatus model
     */
    static apiToModel(data) {
      const res = new KubernetesComponentStatus();
      res.ComponentName = data.metadata.name;
  
      const healthyCondition = _.find(data.conditions, { type: 'Healthy' });
      if (healthyCondition && healthyCondition.status === 'True') {
        res.Healthy = true;
      } else if (healthyCondition && healthyCondition.status === 'False') {
        res.ErrorMessage = healthyCondition.message;
      }
  
      return res;
    }
  }
  