Skip to content

Commit

Permalink
Remove temp workaround
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Nov 29, 2022
1 parent cb130a3 commit 3fa9248
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,7 @@ func (s *server) DeleteNVMeNamespace(ctx context.Context, in *pb.DeleteNVMeNames
if !ok {
err := fmt.Errorf("unable to find subsystem %s", namespace.Spec.SubsystemId.Value)
log.Printf("error: %v", err)
// TODO: temp workaround
subsys = &pb.NVMeSubsystem{Spec: &pb.NVMeSubsystemSpec{Nqn: namespace.Spec.SubsystemId.Value}}
// return nil, err
return nil, err
}

// TODO: fix hard-coded Cntlid
Expand Down

0 comments on commit 3fa9248

Please sign in to comment.