Skip to content

Commit

Permalink
Make dynamic default true to promise that the url will delete from …
Browse files Browse the repository at this point in the history
…zk whenever provider shutdown. (#3824)
  • Loading branch information
carryxyh authored and beiwei30 committed Apr 9, 2019
1 parent 4e5af75 commit 2bfe25e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

boolean deprecated() default false;

boolean dynamic() default false;
boolean dynamic() default true;

String accesslog() default "";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public abstract class AbstractServiceConfig extends AbstractInterfaceConfig {
* after the service registered,and it needs to be enabled manually; if you want to disable the service, you also need
* manual processing
*/
protected Boolean dynamic = false;
protected Boolean dynamic = true;

/**
* Whether to use token
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
boolean deprecated() default false;

/**
* Whether the service is dynamic, default value is false
* Whether the service is dynamic, default value is true
*/
boolean dynamic() default false;
boolean dynamic() default true;

/**
* Access log for the service, default value is ""
Expand Down

0 comments on commit 2bfe25e

Please sign in to comment.