chore(vm.create): remove some console.log()s
This commit is contained in:
parent
1875d31731
commit
1155fa1fe9
@ -61,8 +61,6 @@ extract = (obj, prop) ->
|
||||
|
||||
# TODO: Implement ACLs
|
||||
create = $coroutine (params) ->
|
||||
console.log(params)
|
||||
|
||||
checkLimits = limits = null
|
||||
|
||||
{ user } = this
|
||||
@ -70,7 +68,6 @@ create = $coroutine (params) ->
|
||||
if resourceSet
|
||||
yield this.checkResourceSetConstraints(resourceSet, user.id, objectIds)
|
||||
checkLimits = $coroutine (limits2) =>
|
||||
console.log('limits', limits, limits2)
|
||||
yield this.allocateLimitsInResourceSet(limits, resourceSet)
|
||||
yield this.allocateLimitsInResourceSet(limits2, resourceSet)
|
||||
else unless user.permission is 'admin'
|
||||
@ -133,7 +130,6 @@ create = $coroutine (params) ->
|
||||
})
|
||||
)
|
||||
|
||||
console.log(vdiSizesByDevice)
|
||||
forEach(vdiSizesByDevice, (size) => limits.disk += size)
|
||||
|
||||
vifs = extract(params, 'VIFs')
|
||||
|
@ -306,7 +306,6 @@ export const makeEditObject = specs => {
|
||||
|
||||
let addToLimits
|
||||
if (limits && (addToLimits = spec.addToLimits)) {
|
||||
console.log(spec.limitName, value, current, addToLimits(value, current))
|
||||
limits[spec.limitName] = addToLimits(value, current)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user