From 3fa92485ec087c8ff15adfdfe9cc4c4658508e7e Mon Sep 17 00:00:00 2001 From: Boris Glimcher Date: Wed, 30 Nov 2022 01:18:40 +0200 Subject: [PATCH] Remove temp workaround Signed-off-by: Boris Glimcher --- frontend.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend.go b/frontend.go index d2882c6b..05cae8bb 100644 --- a/frontend.go +++ b/frontend.go @@ -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