Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 3ef9251

Browse files
grantwwuisaikevych
authored andcommitted
Fix 'pacth' to 'patch' (#157)
* Fix 'pacth' to 'patch' * Correct spelling of return
1 parent 4a3ac8d commit 3ef9251

File tree

3 files changed

+4
-4
lines changed
  • packages
    • opencensus-instrumentation-grpc/src
    • opencensus-instrumentation-https/src
    • opencensus-instrumentation-http/src

3 files changed

+4
-4
lines changed

packages/opencensus-instrumentation-grpc/src/grpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class GrpcPlugin extends BasePlugin {
107107
* Patches gRPC incoming and outcoming request functions.
108108
*/
109109
protected applyPatch() {
110-
this.logger.debug('applying pacth to %s@%s', this.moduleName, this.version);
110+
this.logger.debug('applying patch to %s@%s', this.moduleName, this.version);
111111

112112
shimmer.wrap(
113113
this.moduleExports.Server.prototype, 'register' as never,

packages/opencensus-instrumentation-http/src/http.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class HttpPlugin extends BasePlugin {
5454
* Patches HTTP incoming and outcoming request functions.
5555
*/
5656
protected applyPatch() {
57-
this.logger.debug('applying pacth to %s@%s', this.moduleName, this.version);
57+
this.logger.debug('applying patch to %s@%s', this.moduleName, this.version);
5858

5959
shimmer.wrap(
6060
this.moduleExports, 'request', this.getPatchOutgoingRequestFunction());
@@ -321,7 +321,7 @@ export class HttpPlugin extends BasePlugin {
321321
span.end();
322322
});
323323

324-
plugin.logger.debug('makeRequestTrace retun request');
324+
plugin.logger.debug('makeRequestTrace return request');
325325
return request;
326326
};
327327
}

packages/opencensus-instrumentation-https/src/https.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class HttpsPlugin extends HttpPlugin {
3333
* Patches HTTPS incoming and outcoming request functions.
3434
*/
3535
protected applyPatch() {
36-
this.logger.debug('applying pacth to %s@%s', this.moduleName, this.version);
36+
this.logger.debug('applying patch to %s@%s', this.moduleName, this.version);
3737

3838
if (this.moduleExports && this.moduleExports.Server &&
3939
this.moduleExports.Server.prototype) {

0 commit comments

Comments
 (0)