Commit 835fdcbb by lepdou

bugfix 删除配置的时候锁开关没判断

parent 63774ac9
......@@ -83,6 +83,10 @@ public class NamespaceLockAspect {
}
void acquireLock(long namespaceId, String currentUser) {
if (apolloSwitcher.isNamespaceLockSwitchOff()) {
return;
}
Namespace namespace = namespaceService.findOne(namespaceId);
acquireLock(namespace, currentUser);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment