Skip to content

Commit

Permalink
Merge pull request #12695 from hashicorp/backport/b-csi-withauthority…
Browse files Browse the repository at this point in the history
…-header/officially-tidy-lamb

This pull request was automerged via backport-assistant
  • Loading branch information
hc-github-team-nomad-core committed Apr 19, 2022
2 parents 4a2513c + a95b2b8 commit b4b408a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/12359.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
csi: Fixed a bug where plugins written in NodeJS could fail to fingerprint
```
1 change: 1 addition & 0 deletions plugins/csi/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func newGrpcConn(addr string, logger hclog.Logger) (*grpc.ClientConn, error) {
grpc.WithInsecure(),
grpc.WithUnaryInterceptor(logging.UnaryClientInterceptor(logger)),
grpc.WithStreamInterceptor(logging.StreamClientInterceptor(logger)),
grpc.WithAuthority("localhost"),
grpc.WithDialer(func(target string, timeout time.Duration) (net.Conn, error) {
return net.DialTimeout("unix", target, timeout)
}),
Expand Down

0 comments on commit b4b408a

Please sign in to comment.