aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_watchdog.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_watchdog.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_watchdog.erl')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index bb671e9860..c08e2da672 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -72,7 +72,7 @@
restrict := boolean(),
suspect := non_neg_integer(), %% OKAY -> SUSPECT
okay := non_neg_integer()}, %% REOPEN -> OKAY
- codec :: #{decode_format := false,
+ codec :: #{decode_format := none,
string_decode := false,
strict_arities => diameter:strict_arities(),
strict_mbit := boolean(),
@@ -157,7 +157,7 @@ i({Ack, T, Pid, {Opts,
string_decode,
rfc,
ordered_encode],
- SvcOpts#{decode_format := false,
+ SvcOpts#{decode_format := none,
string_decode := false,
ordered_encode => false})}.