Skip to content

Commit

Permalink
Don't call get_subsystems from within delete_bdev().
Browse files Browse the repository at this point in the history
Fixes #260

Signed-off-by: Gil Bregman <[email protected]>
  • Loading branch information
gbregman committed Oct 18, 2023
1 parent 614191b commit a6bd7cf
Show file tree
Hide file tree
Showing 3 changed files with 366 additions and 347 deletions.
2 changes: 1 addition & 1 deletion control/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def add_namespace(self, args):
def remove_namespace(self, args):
"""Removes a namespace from a subsystem."""
req = pb2.remove_namespace_req(subsystem_nqn=args.subnqn,
nsid=args.nsid, already_locked=False)
nsid=args.nsid)
ret = self.stub.remove_namespace(req)
self.logger.info(
f"Removed namespace {args.nsid} from {args.subnqn}:"
Expand Down
Loading

0 comments on commit a6bd7cf

Please sign in to comment.