Skip to content

Commit e19991d

Browse files
Revert "updated FQDN's to googleapis.com with a trailing dot (#2214)" (#2283)
This reverts commit 13d4ed5.
1 parent 00040c5 commit e19991d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

handwritten/pubsub/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function PubSub(options) {
7777
return new PubSub(options);
7878
}
7979

80-
this.defaultBaseUrl_ = 'pubsub.googleapis.com.';
80+
this.defaultBaseUrl_ = 'pubsub.googleapis.com';
8181
this.determineBaseUrl_();
8282

8383
var config = {

handwritten/pubsub/test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ describe('PubSub', function() {
179179

180180
var calledWith = pubsub.calledWith_[0];
181181

182-
var baseUrl = 'pubsub.googleapis.com.';
182+
var baseUrl = 'pubsub.googleapis.com';
183183
assert.strictEqual(calledWith.baseUrl, baseUrl);
184184
assert.strictEqual(calledWith.service, 'pubsub');
185185
assert.strictEqual(calledWith.apiVersion, 'v1');
@@ -191,7 +191,7 @@ describe('PubSub', function() {
191191
});
192192

193193
it('should set the defaultBaseUrl_', function() {
194-
assert.strictEqual(pubsub.defaultBaseUrl_, 'pubsub.googleapis.com.');
194+
assert.strictEqual(pubsub.defaultBaseUrl_, 'pubsub.googleapis.com');
195195
});
196196

197197
it('should use the PUBSUB_EMULATOR_HOST env var', function() {

0 commit comments

Comments
 (0)