Skip to content

Commit

Permalink
Fix documentation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Gormartsen committed Jul 13, 2016
1 parent 14d5cb0 commit 04682e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ var name = 'ubuntu-http';
zone.createVM(name, { os: 'ubuntu' }, function(err, vm, operation) {
// `operation` lets you check the status of long-running tasks.

operation.onComplete(function(err, metadata) {
operation.on("complete", function(err, metadata) {
if (!err) {
// Virtual machine created!
}
Expand Down

0 comments on commit 04682e7

Please sign in to comment.