Skip to content

Commit

Permalink
fix swapped position of retry and persistence label flag in metric de…
Browse files Browse the repository at this point in the history
…finition (#23)
  • Loading branch information
dhruvjain99 authored Apr 28, 2023
1 parent e97d375 commit 43e9d59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/vmq_server/src/vmq_metrics.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@ counter_entries_def() ->
{non_persistence, rcn_to_str(?NON_PERSISTENCE)},
{non_retry, rcn_to_str(?NON_RETRY)}
],
{?QOS1_SUBSCRIPTION_OPTS, ?NON_PERSISTENCE, ?NON_RETRY},
{?QOS1_SUBSCRIPTION_OPTS, ?NON_RETRY, ?NON_PERSISTENCE},
qos1_subscription_opts,
<<"QoS 1 opts in subscription.">>
),
Expand All @@ -1496,7 +1496,7 @@ counter_entries_def() ->
{non_persistence, rcn_to_str(?NON_PERSISTENCE)},
{non_retry, rcn_to_str(?RETRY)}
],
{?QOS1_SUBSCRIPTION_OPTS, ?NON_PERSISTENCE, ?RETRY},
{?QOS1_SUBSCRIPTION_OPTS, ?RETRY, ?NON_PERSISTENCE},
qos1_subscription_opts,
<<"QoS 1 opts in subscription.">>
),
Expand All @@ -1507,7 +1507,7 @@ counter_entries_def() ->
{non_persistence, rcn_to_str(?PERSISTENCE)},
{non_retry, rcn_to_str(?NON_RETRY)}
],
{?QOS1_SUBSCRIPTION_OPTS, ?PERSISTENCE, ?NON_RETRY},
{?QOS1_SUBSCRIPTION_OPTS, ?NON_RETRY, ?PERSISTENCE},
qos1_subscription_opts,
<<"QoS 1 opts in subscription.">>
),
Expand All @@ -1518,7 +1518,7 @@ counter_entries_def() ->
{non_persistence, rcn_to_str(?PERSISTENCE)},
{non_retry, rcn_to_str(?RETRY)}
],
{?QOS1_SUBSCRIPTION_OPTS, ?PERSISTENCE, ?RETRY},
{?QOS1_SUBSCRIPTION_OPTS, ?RETRY, ?PERSISTENCE},
qos1_subscription_opts,
<<"QoS 1 opts in subscription.">>
),
Expand Down

0 comments on commit 43e9d59

Please sign in to comment.