From bf2a2f2f4cfba6897380a099a40c536cad02a5ad Mon Sep 17 00:00:00 2001 From: Minghua Ye Date: Mon, 18 Apr 2016 17:07:57 +0000 Subject: [PATCH] Fix documentation that labels for logging entry has to be STRING --- README.md | 2 +- lib/logging/entry.js | 2 +- lib/logging/index.js | 4 ++-- lib/logging/log.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 088152a8ee3..9f7bdfa9712 100644 --- a/README.md +++ b/README.md @@ -475,7 +475,7 @@ var resource = { type: 'gce_instance', labels: { zone: 'global', - instance_id: 3 + instance_id: '3' } }; diff --git a/lib/logging/entry.js b/lib/logging/entry.js index f0d9242f79e..2717362cd1e 100644 --- a/lib/logging/entry.js +++ b/lib/logging/entry.js @@ -57,7 +57,7 @@ var GrpcService = require('../common/grpc-service.js'); * type: 'gce_instance', * labels: { * zone: 'global', - * instance_id: 3 + * instance_id: '3' * } * }; * diff --git a/lib/logging/index.js b/lib/logging/index.js index fffc9b3b773..f95c443418e 100644 --- a/lib/logging/index.js +++ b/lib/logging/index.js @@ -255,7 +255,7 @@ Logging.prototype.createSink = function(name, config, callback) { * type: 'gce_instance', * labels: { * zone: 'global', - * instance_id: 3 + * instance_id: '3' * } * }; * @@ -269,7 +269,7 @@ Logging.prototype.createSink = function(name, config, callback) { * // type: 'gce_instance', * // labels: { * // zone: 'global', - * // instance_id: 3 + * // instance_id: '3' * // } * // }, * // jsonPayload: { diff --git a/lib/logging/log.js b/lib/logging/log.js index 981f7180b53..35fd0368e95 100644 --- a/lib/logging/log.js +++ b/lib/logging/log.js @@ -226,7 +226,7 @@ Log.prototype.emergency = function(entry, options, callback) { * type: 'gce_instance', * labels: { * zone: 'global', - * instance_id: 3 + * instance_id: '3' * } * }; * @@ -241,7 +241,7 @@ Log.prototype.emergency = function(entry, options, callback) { * // type: 'gce_instance', * // labels: { * // zone: 'global', - * // instance_id: 3 + * // instance_id: '3' * // } * // }, * // jsonPayload: {