Merge pull request #3364 from loganhz/max

Remove rancherVersion in its requests
This commit is contained in:
Vincent Fiduccia 2019-09-19 01:42:09 -07:00 committed by GitHub
commit 3ada863f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -7,8 +7,6 @@ import { allSettled, hash } from 'rsvp';
import { union } from '@ember/object/computed';
import C from 'shared/utils/constants';
const RANCHER_VERSION = 'rancherVersion';
export default Service.extend({
globalStore: service(),
settings: service(),
@ -204,14 +202,7 @@ export default Service.extend({
},
_addLimits(url, qp) {
let version = get(this, 'settings.rancherVersion');
qp = qp || {};
if (version) {
qp[RANCHER_VERSION] = version;
}
url = addQueryParams(url, qp);
return url;