diff options
author | Anders Svensson <[email protected]> | 2013-01-24 14:34:56 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-02-08 15:28:03 +0100 |
commit | 74755d8d18aa1769840b0914fe73e9c5c4b3219b (patch) | |
tree | b02c8a4decbe580c3852cf41cdb2a1d8fbc1a4ad /lib/diameter/src/base/diameter_watchdog.erl | |
parent | 5027671e5d7871f565fd0ce4165ca0039661a79d (diff) | |
download | otp-74755d8d18aa1769840b0914fe73e9c5c4b3219b.tar.gz otp-74755d8d18aa1769840b0914fe73e9c5c4b3219b.tar.bz2 otp-74755d8d18aa1769840b0914fe73e9c5c4b3219b.zip |
Remove upgrade code not needed after application restart
Which will be the case with R16B in this case.
Diffstat (limited to 'lib/diameter/src/base/diameter_watchdog.erl')
-rw-r--r-- | lib/diameter/src/base/diameter_watchdog.erl | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl index a5429c967c..ad4a142f76 100644 --- a/lib/diameter/src/base/diameter_watchdog.erl +++ b/lib/diameter/src/base/diameter_watchdog.erl @@ -157,14 +157,7 @@ handle_info(T, #watchdog{} = State) -> ?LOG(stop, T), event(State, State#watchdog{status = down}), {stop, {shutdown, T}, State} - end; - -handle_info(T, S) -> - handle_info(T, upgrade(S)). - -upgrade(S) -> - #watchdog{} = list_to_tuple(tuple_to_list(S) - ++ [?NOMASK, {nodes, true}, false]). + end. event(#watchdog{status = T}, #watchdog{status = T}) -> ok; |