Permalink
Browse files

Correct example in README

  • Loading branch information...
1 parent a4ce73f commit ebe7b1dd7ba988f839949c8a6faf062468d008d3 @msantos committed Aug 16, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 README.md
View
@@ -60,11 +60,10 @@ To call the same functions in Erlang:
Active = vert:virConnectNumOfDomains(Connect),
io:format("Active Domains: ~p~n", [Active]),
- {ok, Connect, Domain}.
+ {ok, Domain}.
- halt(Connect, Domain) ->
- ok = vert:virDomainDestroy(Domain),
- ok = vert:virConnectClose(Connect).
+ halt(Domain) ->
+ ok = vert:virDomainDestroy(Domain).
### DUMPING XML CONFIGURATION

0 comments on commit ebe7b1d

Please sign in to comment.