Minor fixes.
This commit is contained in:
@@ -59,7 +59,7 @@ $_.each defs, (def, name) ->
|
||||
|
||||
# Gets the corresponding connection.
|
||||
xapi = @getXAPI vm
|
||||
xapi.call.apply xapi, ["VM.#{method}", vm.$ref].concat params
|
||||
xapi.call.apply xapi, ["VM.#{method}", vm.ref].concat params
|
||||
|
||||
# Returns true.
|
||||
true
|
||||
|
||||
@@ -302,7 +302,6 @@ class $XO extends $EventEmitter
|
||||
# Returns an object from its key or UUID.
|
||||
getObject: (key) ->
|
||||
# Gracefully handles UUIDs.
|
||||
console.log @_UUIDsToKeys
|
||||
if key of @_UUIDsToKeys
|
||||
key = @_UUIDsToKeys[key]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user