Skip to content
Snippets Groups Projects
Commit 3dd574e4 authored by Antoine Rey's avatar Antoine Rey Committed by Maciej Szarliński
Browse files

Replace @Configuration and @EnableAutoConfiguration by @SpringBootApplication (#99)

parent d6af5e7d
Branches
No related tags found
No related merge requests found
......@@ -17,12 +17,10 @@ package org.springframework.samples.petclinic.admin;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;
@Configuration
@EnableAutoConfiguration
@SpringBootApplication
@EnableAdminServer
@EnableDiscoveryClient
public class SpringBootAdminApplication {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment