hunk.code_window: 	if err != nil {
   		return errors.Wrap(err, "failed to create env file")
   	}
   	filePaths := stackutils.GetStackFilePaths(stack, false)
   	err = manager.deployer.Pull(ctx, filePaths, libstack.Options{
   		WorkingDir:  stack.ProjectPath,
   		EnvFilePath: envFilePath,
   		Host:        url,
   		ProjectName: stack.Name,
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit: 	filePaths := stackutils.GetStackFilePaths(stack, true)
  
hunk.file_path: api/exec/compose_stack.go
hunk.type: replace
file: angular.module('portainer.app').factory('Registries', [
    '$resource',
    'API_ENDPOINT_REGISTRIES',
    function RegistriesFactory($resource, API_ENDPOINT_REGISTRIES) {
      'use strict';
      return $resource(
        API_ENDPOINT_REGISTRIES + '/:id/:action',
        {},
        {
          create: { method: 'POST', ignoreLoadingBar: true },
          query: { method: 'GET', isArray: true },
          get: { method: 'GET', params: { id: '@id', action: '', endpointId: '@endpointId' } },
          update: { method: 'PUT', params: { id: '@id' } },
          remove: { method: 'DELETE', params: { id: '@id' } },
          configure: { method: 'POST', params: { id: '@id', action: 'configure' } },
        }
      );
    },
  ]);
  