Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

fix: GoogleAdsError missing using generator version after 1.3.0 #3

Merged
merged 3 commits into from
May 25, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/v1/data_migration_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ export class DataMigrationServiceClient {
}
if (!opts.fallback) {
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
} else if (opts.fallback === 'rest') {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
}
if (opts.libName && opts.libVersion) {
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
Expand Down