Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

fix(ie-errors): Fix several errors in IE. #907

Merged
merged 6 commits into from
Jan 30, 2018

Conversation

ksendart
Copy link
Contributor

@@ -99,7 +107,7 @@ export class VirtualMachineCreationEffects {
const insufficientResources = [];

Object.keys(resourceUsage.available)
.filter(key => ['instances', 'volumes', 'cpus', 'memory', 'primaryStorage'].includes(key))
.filter(key => ['instances', 'volumes', 'cpus', 'memory', 'primaryStorage'].indexOf(key) !== -1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note, indexOf(key) > -1 saves time =)

@ksendart ksendart merged commit d25a84b into bwsw:master Jan 30, 2018
@ksendart ksendart deleted the 897-ie-errors branch January 30, 2018 00:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants