Skip to content

Commit

Permalink
Merge PR ceph#27485 into master
Browse files Browse the repository at this point in the history
* refs/pull/27485/head:
	mgr/ActivePyModules: handle_command - fix broken lock

Reviewed-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Apr 14, 2019
2 parents deae32d + 377de7a commit 2f8cc72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mgr/ActivePyModules.cc
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,7 @@ int ActivePyModules::handle_command(
auto mod_iter = modules.find(module_name);
if (mod_iter == modules.end()) {
*ss << "Module '" << module_name << "' is not available";
lock.Unlock();
return -ENOENT;
}

Expand Down

0 comments on commit 2f8cc72

Please sign in to comment.