Commit b7bcddda by Spencer Gibb

add DiscoveryClientOptionalArgs constructor param to CloudEurekaClient

parent d24bff02
......@@ -39,7 +39,14 @@ public class CloudEurekaClient extends DiscoveryClient {
public CloudEurekaClient(ApplicationInfoManager applicationInfoManager,
EurekaClientConfig config, ApplicationContext context) {
super(applicationInfoManager, config);
this(applicationInfoManager, config, null, context);
}
public CloudEurekaClient(ApplicationInfoManager applicationInfoManager,
EurekaClientConfig config,
DiscoveryClientOptionalArgs args,
ApplicationContext context) {
super(applicationInfoManager, config, args);
this.context = context;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment