mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Polish "Update smoke tests to avoid conflicts with NAME environment variable"
See gh-31267
This commit is contained in:
parent
95e0d6c0f7
commit
0834dc5b01
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
* Copyright 2012-2022 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.
|
||||
@ -22,7 +22,7 @@ import org.springframework.stereotype.Component;
|
||||
@Component
|
||||
public class HelloWorldService {
|
||||
|
||||
@Value("${name:World}")
|
||||
@Value("${test.name:World}")
|
||||
private String name;
|
||||
|
||||
public String getHelloMessage() {
|
||||
|
Loading…
Reference in New Issue
Block a user