Skip to content

Commit cc8aecd

Browse files
committed
Review fixes
1 parent f4d2a83 commit cc8aecd

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

packages/monitoring/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"repository": "GoogleCloudPlatform/google-cloud-node",
33
"name": "@google-cloud/monitoring",
4-
"version": "0.3.0",
4+
"version": "0.2.3",
55
"author": "Google Inc",
66
"description": "Stackdriver Monitoring API client for Node.js",
77
"main": "src/index.js",
@@ -30,8 +30,7 @@
3030
"lodash.union": "^4.6.0"
3131
},
3232
"devDependencies": {
33-
"mocha": "^3.2.0",
34-
"through2": "^2.0.3"
33+
"mocha": "^3.2.0"
3534
},
3635
"scripts": {
3736
"publish-module": "node ../../scripts/publish.js monitoring",

packages/monitoring/src/v3/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ var groupServiceClient = require('./group_service_client');
1919
var metricServiceClient = require('./metric_service_client');
2020
var gax = require('google-gax');
2121
var extend = require('extend');
22-
var union = require('lodash.union');
2322

2423
function v3(options) {
2524
options = extend({
@@ -34,9 +33,6 @@ function v3(options) {
3433

3534
v3.GAPIC_VERSION = '0.0.5';
3635
v3.SERVICE_ADDRESS = groupServiceClient.SERVICE_ADDRESS;
37-
v3.ALL_SCOPES = union(
38-
groupServiceClient.ALL_SCOPES,
39-
metricServiceClient.ALL_SCOPES
40-
);
36+
v3.ALL_SCOPES = groupServiceClient.ALL_SCOPES;
4137

4238
module.exports = v3;

0 commit comments

Comments
 (0)