Skip to content

Commit

Permalink
Fix documentation that labels for logging entry has to be STRING (#1241)
Browse files Browse the repository at this point in the history
  • Loading branch information
faithseed authored and stephenplusplus committed Apr 18, 2016
1 parent 5199cad commit 24fbcdc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ var resource = {
type: 'gce_instance',
labels: {
zone: 'global',
instance_id: 3
instance_id: '3'
}
};

Expand Down
2 changes: 1 addition & 1 deletion lib/logging/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var GrpcService = require('../common/grpc-service.js');
* type: 'gce_instance',
* labels: {
* zone: 'global',
* instance_id: 3
* instance_id: '3'
* }
* };
*
Expand Down
4 changes: 2 additions & 2 deletions lib/logging/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Logging.prototype.createSink = function(name, config, callback) {
* type: 'gce_instance',
* labels: {
* zone: 'global',
* instance_id: 3
* instance_id: '3'
* }
* };
*
Expand All @@ -269,7 +269,7 @@ Logging.prototype.createSink = function(name, config, callback) {
* // type: 'gce_instance',
* // labels: {
* // zone: 'global',
* // instance_id: 3
* // instance_id: '3'
* // }
* // },
* // jsonPayload: {
Expand Down
4 changes: 2 additions & 2 deletions lib/logging/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Log.prototype.emergency = function(entry, options, callback) {
* type: 'gce_instance',
* labels: {
* zone: 'global',
* instance_id: 3
* instance_id: '3'
* }
* };
*
Expand All @@ -241,7 +241,7 @@ Log.prototype.emergency = function(entry, options, callback) {
* // type: 'gce_instance',
* // labels: {
* // zone: 'global',
* // instance_id: 3
* // instance_id: '3'
* // }
* // },
* // jsonPayload: {
Expand Down

0 comments on commit 24fbcdc

Please sign in to comment.