Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin committed Jan 16, 2022
1 parent c95f80d commit e8677d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion protocol/dubbo3/dubbo3_invoker.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (di *DubboInvoker) Invoke(ctx context.Context, invocation protocol.Invocati

for _, k := range attachmentKey {
if v := di.GetURL().GetParam(k, ""); len(v) > 0 {
invocation.SetAttachments(k, v)
invocation.SetAttachment(k, v)
}
}

Expand Down
1 change: 0 additions & 1 deletion protocol/dubbo3/reflection/serverreflection.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ The service implemented is defined in:
https://github.com/grpc/grpc/blob/master/src/proto/grpc/reflection/v1alpha/reflection.proto.
*/
// nolint
package reflection

import (
Expand Down

0 comments on commit e8677d1

Please sign in to comment.