Skip to content

Commit

Permalink
Put stream helpers in server/services/epm/
Browse files Browse the repository at this point in the history
  • Loading branch information
John Schulz committed Nov 12, 2020
1 parent 900e8c3 commit 823b9b6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import tar from 'tar';
import yauzl from 'yauzl';
import { bufferToStream, streamToBuffer } from '../../../streams';
import { bufferToStream, streamToBuffer } from '../streams';
import { ArchiveEntry } from './index';

export async function untarBuffer(
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/server/services/epm/registry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
unpackArchiveToCache,
} from '../archive';
import { fetchUrl, getResponse, getResponseStream } from './requests';
import { streamToBuffer } from '../../../streams';
import { streamToBuffer } from '../streams';
import { getRegistryUrl } from './registry_url';
import { appContextService } from '../..';
import { PackageNotFoundError, PackageCacheError } from '../../../errors';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import fetch, { FetchError, Response, RequestInit } from 'node-fetch';
import pRetry from 'p-retry';
import { streamToString } from '../../../streams';
import { streamToString } from '../streams';
import { appContextService } from '../../app_context';
import { RegistryError, RegistryConnectionError, RegistryResponseError } from '../../../errors';
import { getProxyAgent, getRegistryProxyUrl } from './proxy';
Expand Down
File renamed without changes.

0 comments on commit 823b9b6

Please sign in to comment.