hunk.code_window: 		TTY:       true,
   	}, scheme.ParameterCodec)
   	exec, err := remotecommand.NewSPDYExecutor(config, "POST", req.URL())
   	if err != nil {
   		return err
   	}
   	err = exec.Stream(remotecommand.StreamOptions{
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit: 		errChan <- err
   		return
  
hunk.file_path: api/kubernetes/cli/exec.go
hunk.type: replace
file: angular.module('portainer.app').factory('Status', [
    '$resource',
    'API_ENDPOINT_STATUS',
    function StatusFactory($resource, API_ENDPOINT_STATUS) {
      'use strict';
      return $resource(
        API_ENDPOINT_STATUS + '/:action',
        {},
        {
          get: { method: 'GET' },
          version: { method: 'GET', params: { action: 'version' } },
        }
      );
    },
  ]);
  