Skip to content

Commit

Permalink
Correct caPiTalization in fun
Browse files Browse the repository at this point in the history
  • Loading branch information
msantos committed Aug 24, 2012
1 parent 122bdae commit 003e442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/vert
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ connect(Opt) ->
vert:virConnectOpen(URI).

domain(Connect, Host) ->
Fun = [ fun() -> vert:virDomainLookupById(Connect, list_to_integer(Host)) end,
Fun = [ fun() -> vert:virDomainLookupByID(Connect, list_to_integer(Host)) end,
fun() -> vert:virDomainLookupByUUIDString(Connect, Host) end,
fun() -> vert:virDomainLookupByName(Connect, Host) end ],
domain_1(Fun).
Expand Down

0 comments on commit 003e442

Please sign in to comment.