From 976cb6923bb998e6724c1dbc9c5bdb6f871ca801 Mon Sep 17 00:00:00 2001 From: Gor Martsen Date: Wed, 13 Jul 2016 20:15:59 -0400 Subject: [PATCH] Documentation update for Google Compute Engine App (#1432) Fix documentation error --- CONTRIBUTORS | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 576f30215ab..b14cbe5ad60 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -15,6 +15,7 @@ Anand Suresh Ben Stahl Brett Bergmann Burcu Dogan +Gor Martsen Hector Rovira Ido Shamun Jesse Friedman diff --git a/README.md b/README.md index d4374a29971..9a39542aa47 100644 --- a/README.md +++ b/README.md @@ -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! }