diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2016-09-01 10:30:18 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2016-09-01 10:30:18 +0300 |
| commit | b4eeb8cc87395fd9b72fbf4d85301b3a9fce5b48 (patch) | |
| tree | 6d5b9db718a9dad80af674b2574339b13f80d8ab | |
| parent | abc2565d5aa422f1ea55102947277f3448b40afd (diff) | |
| download | rabbitmq-server-git-b4eeb8cc87395fd9b72fbf4d85301b3a9fce5b48.tar.gz | |
Use a separate event key for operator policies
| -rw-r--r-- | src/rabbit_policy.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_policy.erl b/src/rabbit_policy.erl index d2d6233025..7e39164882 100644 --- a/src/rabbit_policy.erl +++ b/src/rabbit_policy.erl @@ -337,7 +337,7 @@ notify_clear(VHost, <<"policy">>, Name) -> rabbit_event:notify(policy_cleared, [{name, Name}, {vhost, VHost}]), update_policies(VHost); notify_clear(VHost, <<"operator_policy">>, Name) -> - rabbit_event:notify(policy_cleared, [{name, Name}, {vhost, VHost}]), + rabbit_event:notify(operator_policy_cleared, [{name, Name}, {vhost, VHost}]), update_policies(VHost). %%---------------------------------------------------------------------------- |
