Skip to content

Commit 4e04ca9

Browse files
authored
fix manila sanity test (#2226)
1 parent 86feb92 commit 4e04ca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sanity/manila/fakecsiclient.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ func (c fakeNodeSvcClient) UnpublishVolume(ctx context.Context, req *csi.NodeUnp
9999
type fakeCSIClientBuilder struct{}
100100

101101
func (b fakeCSIClientBuilder) NewConnection(string) (*grpc.ClientConn, error) {
102-
return grpc.Dial("", grpc.WithTransportCredentials(insecure.NewCredentials()))
102+
return grpc.Dial("localhost", grpc.WithTransportCredentials(insecure.NewCredentials()))
103103
}
104104

105105
func (b fakeCSIClientBuilder) NewConnectionWithContext(context.Context, string) (*grpc.ClientConn, error) {
106-
return grpc.Dial("", grpc.WithTransportCredentials(insecure.NewCredentials()))
106+
return grpc.Dial("localhost", grpc.WithTransportCredentials(insecure.NewCredentials()))
107107
}
108108

109109
func (b fakeCSIClientBuilder) NewNodeServiceClient(conn *grpc.ClientConn) csiclient.Node {

0 commit comments

Comments
 (0)