Skip to content

Commit

Permalink
fix(core): do not send a cloud provider on v2 search calls (#7142)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry committed Jun 26, 2019
1 parent 5d6d9aa commit fb58d70
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { isEmpty } from 'lodash';
import { Observable, Subject } from 'rxjs';

import { SETTINGS } from 'core/config';
import { UrlBuilder, IQueryParams } from 'core/navigation';

import { ISearchResultSet } from './infrastructureSearch.service';
Expand All @@ -21,9 +20,6 @@ export class InfrastructureSearchServiceV2 {
}

const params = { ...apiParams };
if (SETTINGS.defaultProviders && SETTINGS.defaultProviders.length > 0) {
params.cloudProvider = SETTINGS.defaultProviders[0];
}
const types = searchResultTypeRegistry.getAll();
const otherResults$ = new Subject<ISearchResultSet>();

Expand Down

0 comments on commit fb58d70

Please sign in to comment.