Skip to content

Commit

Permalink
ctrl id was removed
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Nov 17, 2022
1 parent ca08a75 commit d85504c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions goopicsi.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,10 @@ func ConnectToRemoteAndExpose(addr string) error {
rn1, err := c1.CreateNVMeNamespace(ctx, &pb.CreateNVMeNamespaceRequest{
Namespace: &pb.NVMeNamespace{
Spec: &pb.NVMeNamespaceSpec{
Id: &pbc.ObjectKey{Value: "namespace-test"},
SubsystemId: &pbc.ObjectKey{Value: "namespace-test-ss"},
ControllerId: &pbc.ObjectKey{Value: "namespace-test-ctrler"},
VolumeId: &pbc.ObjectKey{Value: "Malloc1"},
HostNsid: 123}}})
Id: &pbc.ObjectKey{Value: "namespace-test"},
SubsystemId: &pbc.ObjectKey{Value: "namespace-test-ss"},
VolumeId: &pbc.ObjectKey{Value: "Malloc1"},
HostNsid: 123}}})
if err != nil {
log.Printf("could not create NVMe subsystem: %v", err)
return err
Expand Down

0 comments on commit d85504c

Please sign in to comment.