File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/main/java/org/embulk/output/s3 Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ private ClientConfiguration getClientConfiguration(PluginTask task)
194
194
// set http proxy
195
195
// backward compatibility
196
196
if (task .getProxyHost ().isPresent ()) {
197
+ logger .warn ("proxy_host is deprecated. use http_proxy.host instead" );
197
198
if (!task .getHttpProxy ().isPresent ()) {
198
199
ConfigMapper configMapper = CONFIG_MAPPER_FACTORY .createConfigMapper ();
199
200
ConfigSource configSource = CONFIG_MAPPER_FACTORY .newConfigSource ();
@@ -210,6 +211,7 @@ private ClientConfiguration getClientConfiguration(PluginTask task)
210
211
}
211
212
212
213
if (task .getProxyPort ().isPresent ()) {
214
+ logger .warn ("proxy_port is deprecated. use http_proxy.port instead" );
213
215
HttpProxy httpProxy = task .getHttpProxy ().get ();
214
216
if (!httpProxy .getPort ().isPresent ()) {
215
217
httpProxy .setPort (task .getProxyPort ());
You can’t perform that action at this time.
0 commit comments