File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
3-Edgware/config-client/src/main/java/com/didispace/config/client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
package com .didispace .config .client ;
2
2
3
3
import org .springframework .beans .factory .annotation .Value ;
4
+ import org .springframework .boot .SpringApplication ;
4
5
import org .springframework .boot .autoconfigure .SpringBootApplication ;
5
- import org .springframework .boot .builder .SpringApplicationBuilder ;
6
6
import org .springframework .cloud .context .config .annotation .RefreshScope ;
7
7
import org .springframework .web .bind .annotation .GetMapping ;
8
8
import org .springframework .web .bind .annotation .RestController ;
11
11
public class ConfigClientApplication {
12
12
13
13
public static void main (String [] args ) {
14
- new SpringApplicationBuilder (ConfigClientApplication .class ). web ( true ). run ( args );
14
+ SpringApplication . run (ConfigClientApplication .class );
15
15
}
16
16
17
17
@ RefreshScope
You can’t perform that action at this time.
0 commit comments