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

Commit

Permalink
Fix 'pacth' to 'patch' (#157)
Browse files Browse the repository at this point in the history
* Fix 'pacth' to 'patch'

* Correct spelling of return
  • Loading branch information
grantwwu authored and isaikevych committed Oct 23, 2018
1 parent 4a3ac8d commit 3ef9251
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/opencensus-instrumentation-grpc/src/grpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class GrpcPlugin extends BasePlugin {
* Patches gRPC incoming and outcoming request functions.
*/
protected applyPatch() {
this.logger.debug('applying pacth to %s@%s', this.moduleName, this.version);
this.logger.debug('applying patch to %s@%s', this.moduleName, this.version);

shimmer.wrap(
this.moduleExports.Server.prototype, 'register' as never,
Expand Down
4 changes: 2 additions & 2 deletions packages/opencensus-instrumentation-http/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class HttpPlugin extends BasePlugin {
* Patches HTTP incoming and outcoming request functions.
*/
protected applyPatch() {
this.logger.debug('applying pacth to %s@%s', this.moduleName, this.version);
this.logger.debug('applying patch to %s@%s', this.moduleName, this.version);

shimmer.wrap(
this.moduleExports, 'request', this.getPatchOutgoingRequestFunction());
Expand Down Expand Up @@ -321,7 +321,7 @@ export class HttpPlugin extends BasePlugin {
span.end();
});

plugin.logger.debug('makeRequestTrace retun request');
plugin.logger.debug('makeRequestTrace return request');
return request;
};
}
Expand Down
2 changes: 1 addition & 1 deletion packages/opencensus-instrumentation-https/src/https.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class HttpsPlugin extends HttpPlugin {
* Patches HTTPS incoming and outcoming request functions.
*/
protected applyPatch() {
this.logger.debug('applying pacth to %s@%s', this.moduleName, this.version);
this.logger.debug('applying patch to %s@%s', this.moduleName, this.version);

if (this.moduleExports && this.moduleExports.Server &&
this.moduleExports.Server.prototype) {
Expand Down

0 comments on commit 3ef9251

Please sign in to comment.