aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_config.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-31 09:53:45 +0200
committerAnders Svensson <[email protected]>2017-09-01 17:22:36 +0200
commit36a64980960077558dcfd0e181a65753856f331c (patch)
treeccdb00043e8e2d9507062be8ee1313372b60df60 /lib/diameter/src/base/diameter_config.erl
parent99db256e992591ab5cd03d77adcd4ad8d8a16a7e (diff)
downloadotp-36a64980960077558dcfd0e181a65753856f331c.tar.gz
otp-36a64980960077558dcfd0e181a65753856f331c.tar.bz2
otp-36a64980960077558dcfd0e181a65753856f331c.zip
Rename decode_format false to none
Which reads better and makes it easier to distinguish this false from others.
Diffstat (limited to 'lib/diameter/src/base/diameter_config.erl')
-rw-r--r--lib/diameter/src/base/diameter_config.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_config.erl b/lib/diameter/src/base/diameter_config.erl
index 6fc4277ac8..284f885884 100644
--- a/lib/diameter/src/base/diameter_config.erl
+++ b/lib/diameter/src/base/diameter_config.erl
@@ -588,8 +588,7 @@ opt(service, {K, false})
K == use_shared_peers;
K == monitor;
K == restrict_connections;
- K == strict_arities;
- K == decode_format ->
+ K == strict_arities ->
true;
opt(service, {K, true})
@@ -602,6 +601,7 @@ opt(service, {decode_format, T})
when T == record;
T == list;
T == map;
+ T == none;
T == record_from_map ->
true;