Skip to content

Commit 6e2a453

Browse files
committed
Remove trailing spaces in profile names
1 parent 1215539 commit 6e2a453

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spring-cloud-kubernetes-controllers/spring-cloud-kubernetes-configserver/src/test/java/org/springframework/cloud/kubernetes/configserver/it/KubernetesEnvironmentRepositoryTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void test() {
151151
wireMockServer.stubFor(get(urlMatching("^/api/v1/namespaces/default/configmaps.*"))
152152
.willReturn(aResponse().withStatus(200).withBody(JSON.serialize(CONFIGMAP_LIST_DEFAULT_NAMESPACE))));
153153

154-
Environment environment = testRestTemplate.getForObject("/application/default ", Environment.class);
154+
Environment environment = testRestTemplate.getForObject("/application/default", Environment.class);
155155

156156
Map<String, Map<String, Object>> result = environment.getPropertySources()
157157
.stream()
@@ -204,7 +204,7 @@ void test() {
204204
wireMockServer.stubFor(get(urlMatching("^/api/v1/namespaces/default/configmaps.*"))
205205
.willReturn(aResponse().withStatus(200).withBody(JSON.serialize(CONFIGMAP_LIST_DEFAULT_NAMESPACE))));
206206

207-
Environment environment = testRestTemplate.getForObject("/stores/default ", Environment.class);
207+
Environment environment = testRestTemplate.getForObject("/stores/default", Environment.class);
208208

209209
Map<String, Map<String, Object>> result = environment.getPropertySources()
210210
.stream()

0 commit comments

Comments
 (0)