From 8ad6afd652bdc6b3d582df3981770507b897b19f Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 18 Jul 2018 18:16:42 +0200 Subject: [PATCH] mod_http_upload: Deprecate 'service_url' option Users should migrate to the 'external_secret' interface. --- src/mod_http_upload.erl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mod_http_upload.erl b/src/mod_http_upload.erl index 8ed47f69d..ed29299f6 100644 --- a/src/mod_http_upload.erl +++ b/src/mod_http_upload.erl @@ -183,7 +183,10 @@ mod_opt_type(get_url) -> end; mod_opt_type(service_url) -> fun(undefined) -> undefined; - (URL) -> misc:try_url(URL) + (URL) -> + ?WARNING_MSG("option 'service_url' is deprecated, consider unsing " + "the 'external_secret' interface instead", []), + misc:try_url(URL) end; mod_opt_type(custom_headers) -> fun(Headers) ->