File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 5
5
package storage
6
6
7
7
import (
8
- "time"
9
-
10
8
grpcOpi "github.com/opiproject/godpu/grpc"
11
9
pb "github.com/opiproject/opi-api/storage/v1alpha1/gen/go"
12
10
"google.golang.org/grpc"
13
11
)
14
12
15
- const defaultTimeout = 10 * time .Second
16
-
17
13
// CreateFrontendNvmeClient defines the function type used to retrieve FrontendNvmeServiceClient
18
14
type CreateFrontendNvmeClient func (cc grpc.ClientConnInterface ) pb.FrontendNvmeServiceClient
19
15
@@ -25,8 +21,6 @@ type Client struct {
25
21
connector grpcOpi.Connector
26
22
createFrontendNvmeClient CreateFrontendNvmeClient
27
23
createFrontendVirtioBlkClient CreateFrontendVirtioBlkClient
28
-
29
- timeout time.Duration
30
24
}
31
25
32
26
// New creates a new instance of Client
@@ -53,6 +47,5 @@ func NewWithArgs(
53
47
connector : connector ,
54
48
createFrontendNvmeClient : createFrontendNvmeClient ,
55
49
createFrontendVirtioBlkClient : createFrontendVirtioBlkClient ,
56
- timeout : defaultTimeout ,
57
50
}, nil
58
51
}
You can’t perform that action at this time.
0 commit comments