From e56ba41027e5861276c4e21432f1b34df339bf67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=B8=B9?= Date: Thu, 16 Mar 2017 10:03:58 +0800 Subject: [PATCH] Update arg sslopts --- test/emqttd_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/emqttd_SUITE.erl b/test/emqttd_SUITE.erl index 926a68824..be60926fb 100644 --- a/test/emqttd_SUITE.erl +++ b/test/emqttd_SUITE.erl @@ -715,7 +715,7 @@ change_opts(SslType, DataDir, Vals) -> lists:foldl(fun({Protocol, Port, Opts} = Listener, Acc) -> case Protocol of ssl -> - SslOpts = proplists:get_value(ssl, Opts), + SslOpts = proplists:get_value(sslopts, Opts), Keyfile = filename:join([DataDir, proplists:get_value(keyfile, SslOpts)]), Certfile = filename:join([DataDir, proplists:get_value(certfile, SslOpts)]), TupleList1 = lists:keyreplace(keyfile, 1, SslOpts, {keyfile, Keyfile}),