Skip to content

Commit

Permalink
Make AbstractDiscoveryClientOptionalArgs really optional. (#4221)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaMaciaszek authored Nov 10, 2023
1 parent b90a47f commit b7eafda
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013-2022 the original author or authors.
* Copyright 2013-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -257,7 +257,7 @@ protected static class EurekaClientConfiguration {
@Autowired
private ApplicationContext context;

@Autowired
@Autowired(required = false)
private AbstractDiscoveryClientOptionalArgs<?> optionalArgs;

@Bean(destroyMethod = "shutdown")
Expand Down Expand Up @@ -293,7 +293,7 @@ protected static class RefreshableEurekaClientConfiguration {
@Autowired
private ApplicationContext context;

@Autowired
@Autowired(required = false)
private AbstractDiscoveryClientOptionalArgs<?> optionalArgs;

@Bean(destroyMethod = "shutdown")
Expand Down

0 comments on commit b7eafda

Please sign in to comment.