diff options
author | Siri Hansen <[email protected]> | 2012-09-21 09:20:27 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-09-21 09:23:07 +0200 |
commit | 53b3095adb6478c63da1ef5ef7f3006e4fd614ef (patch) | |
tree | 80f66d98df88a06f7869761d9b13da20fcdceced | |
parent | 3747724e6f4f69796938534c4f5d2e5849c7a3e1 (diff) | |
download | otp-53b3095adb6478c63da1ef5ef7f3006e4fd614ef.tar.gz otp-53b3095adb6478c63da1ef5ef7f3006e4fd614ef.tar.bz2 otp-53b3095adb6478c63da1ef5ef7f3006e4fd614ef.zip |
[common_test] Change NotifType to atom instead of string
OTP-10432
In call to snmp_config:write_agent_snmp_files, the NotifType argument
was earlier a string. This has been changed to an atom since it failed
in snmp application and notify�conf was not created.
-rw-r--r-- | lib/common_test/src/ct_snmp.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/common_test/src/ct_snmp.erl b/lib/common_test/src/ct_snmp.erl index e3e8bc6f60..6ff21645c9 100644 --- a/lib/common_test/src/ct_snmp.erl +++ b/lib/common_test/src/ct_snmp.erl @@ -480,9 +480,8 @@ setup_agent(true, AgentConfName, SnmpConfName, file:make_dir(DbDir), snmp_config:write_agent_snmp_files(ConfDir, Vsns, ManagerIP, TrapUdp, AgentIP, AgentUdp, SysName, - atom_to_list(NotifType), - SecType, Passwd, AgentEngineID, - AgentMaxMsgSize), + NotifType, SecType, Passwd, + AgentEngineID, AgentMaxMsgSize), override_default_configuration(Config, AgentConfName), |