diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2019-07-08 18:41:25 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2019-07-08 18:41:25 +0300 |
| commit | 50ac865517c84e01a122e5a8e92a1313b7114d67 (patch) | |
| tree | cebda5964958361142a6d18d01fb1958058c6304 /include/amqqueue.hrl | |
| parent | e151ebfe2a50a5e9418e12a6712545aa7054cc40 (diff) | |
| parent | d35182b709ed91b12b9b988ba28d1dcbf063370d (diff) | |
| download | rabbitmq-server-git-50ac865517c84e01a122e5a8e92a1313b7114d67.tar.gz | |
Merge branch 'master' into management-only-api
Diffstat (limited to 'include/amqqueue.hrl')
| -rw-r--r-- | include/amqqueue.hrl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/amqqueue.hrl b/include/amqqueue.hrl index 5f873082e5..3a9ac45cce 100644 --- a/include/amqqueue.hrl +++ b/include/amqqueue.hrl @@ -65,15 +65,15 @@ -define(amqqueue_has_valid_pid(Q), ((?is_amqqueue_v2(Q) andalso - is_pid(?amqqueue_v2_field_pid(Q))) orelse - (?is_amqqueue_v1(Q) andalso - is_pid(?amqqueue_v1_field_pid(Q))))). + is_pid(?amqqueue_v2_field_pid(Q))) orelse + (?is_amqqueue_v1(Q) andalso + is_pid(?amqqueue_v1_field_pid(Q))))). -define(amqqueue_pid_runs_on_local_node(Q), ((?is_amqqueue_v2(Q) andalso - node(?amqqueue_v2_field_pid(Q)) =:= node()) orelse - (?is_amqqueue_v1(Q) andalso - node(?amqqueue_v1_field_pid(Q)) =:= node()))). + node(?amqqueue_v2_field_pid(Q)) =:= node()) orelse + (?is_amqqueue_v1(Q) andalso + node(?amqqueue_v1_field_pid(Q)) =:= node()))). -define(amqqueue_pid_equals(Q, Pid), ((?is_amqqueue_v2(Q) andalso @@ -108,9 +108,9 @@ -define(amqqueue_vhost_equals(Q, VHost), ((?is_amqqueue_v2(Q) andalso - ?amqqueue_v2_vhost(Q) =:= VHost) orelse - (?is_amqqueue_v1(Q) andalso - ?amqqueue_v1_vhost(Q) =:= VHost))). + ?amqqueue_v2_vhost(Q) =:= VHost) orelse + (?is_amqqueue_v1(Q) andalso + ?amqqueue_v1_vhost(Q) =:= VHost))). -ifdef(DEBUG_QUORUM_QUEUE_FF). -define(enable_quorum_queue_if_debug, |
