Skip to content

Commit 5cc00bd

Browse files
committed
checkstyle
Signed-off-by: wind57 <[email protected]>
1 parent 62cb7ef commit 5cc00bd

File tree

4 files changed

+18
-28
lines changed

4 files changed

+18
-28
lines changed

spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/LabeledConfigMapContextToSourceDataProviderTests.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -376,12 +376,10 @@ void searchWithLabelsOneConfigMapFound() {
376376
}
377377

378378
/**
379-
<<<<<<< HEAD
380-
=======
381-
* two configmaps are deployed: "color-configmap" with label: "{color:blue}" and
382-
* "color-configmap-k8s" with label: "{color:red}". We search by "{color:blue}" and
383-
* find one configmap. Since profiles are enabled, we will also be reading
384-
* "color-configmap-k8s", even if its labels do not match provided ones.
379+
* <<<<<<< HEAD ======= two configmaps are deployed: "color-configmap" with label:
380+
* "{color:blue}" and "color-configmap-k8s" with label: "{color:red}". We search by
381+
* "{color:blue}" and find one configmap. Since profiles are enabled, we will also be
382+
* reading "color-configmap-k8s", even if its labels do not match provided ones.
385383
*/
386384
@Test
387385
void searchWithLabelsOneConfigMapFoundAndOneFromProfileFound() {
@@ -419,8 +417,7 @@ void searchWithLabelsOneConfigMapFoundAndOneFromProfileFound() {
419417
}
420418

421419
/**
422-
>>>>>>> main
423-
* <pre>
420+
* >>>>>>> main <pre>
424421
* - configmap "color-configmap" with label "{color:blue}"
425422
* - configmap "shape-configmap" with labels "{color:blue, shape:round}"
426423
* - configmap "no-fit" with labels "{tag:no-fit}"

spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/LabeledSecretContextToSourceDataProviderTests.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -376,12 +376,10 @@ void searchWithLabelsOneSecretFound() {
376376
}
377377

378378
/**
379-
<<<<<<< HEAD
380-
=======
381-
* two secrets are deployed: secret "color-secret" with label: "{color:blue}" and
382-
* "color-secret-k8s" with label: "{color:red}". We search by "{color:blue}" and find
383-
* one secret. Since profiles are enabled, we will also be reading "color-secret-k8s",
384-
* even if its labels do not match provided ones.
379+
* <<<<<<< HEAD ======= two secrets are deployed: secret "color-secret" with label:
380+
* "{color:blue}" and "color-secret-k8s" with label: "{color:red}". We search by
381+
* "{color:blue}" and find one secret. Since profiles are enabled, we will also be
382+
* reading "color-secret-k8s", even if its labels do not match provided ones.
385383
*/
386384
@Test
387385
void searchWithLabelsOneSecretFoundAndOneFromProfileFound() {
@@ -419,8 +417,7 @@ void searchWithLabelsOneSecretFoundAndOneFromProfileFound() {
419417
}
420418

421419
/**
422-
>>>>>>> main
423-
* <pre>
420+
* >>>>>>> main <pre>
424421
* - secret "color-secret" with label "{color:blue}"
425422
* - secret "shape-secret" with labels "{color:blue, shape:round}"
426423
* - secret "no-fit" with labels "{tag:no-fit}"

spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/labeled_config_map_with_profile/LabeledConfigMapWithProfile.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,11 @@ void testBlue() {
151151
}
152152

153153
/**
154-
<<<<<<< HEAD
155-
* <pre>
154+
* <<<<<<< HEAD <pre>
156155
* this one is taken from : "green-configmap.green-configmap-k8s.green-configmap-prod.green-purple-configmap.green-purple-configmap-k8s".
157156
* We find "green-configmap", "green-configmap-k8s", "green-configmap-prod" by labels.
158157
* Also "green-purple-configmap" and "green-purple-configmap-k8s" are found.
159-
* </pre>
160-
=======
161-
* found by labels.
162-
>>>>>>> main
158+
* </pre> ======= found by labels. >>>>>>> main
163159
*/
164160
@Test
165161
void testGreen() {

spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/labeled_secret_with_profile/LabeledSecretWithProfile.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ abstract class LabeledSecretWithProfile {
7575
* - secret with name "color-secret-k8s", with labels : "{color: not-blue}"
7676
* - secret with name "green-secret-k8s", with labels : "{color: green-k8s}"
7777
* - secret with name "green-secret-prod", with labels : "{color: green-prod}"
78-
<<<<<<< HEAD
79-
=======
78+
<<<<<<< HEAD
79+
=======
8080
*
8181
* a test that proves order: first read non-profile based secrets, thus profile based
8282
* secrets override non-profile ones.
83-
>>>>>>> main
83+
>>>>>>> main
8484
* - secret with name "green-purple-secret", labels "{color: green, shape: round}", data: "{eight: 8}"
8585
* - secret with name "green-purple-secret-k8s", labels "{color: black}", data: "{eight: eight-ish}"
8686
* </pre>
@@ -168,13 +168,13 @@ void testBlue() {
168168

169169
/**
170170
* <pre>
171-
<<<<<<< HEAD
171+
<<<<<<< HEAD
172172
* this one is taken from : "green-purple-secret.green-purple-secret-k8s.green-secret.green-secret-k8s.green-secret-prod".
173173
* We find "green-secret", "green-secrets-k8s" and "green-secrets-prod" by labels.
174174
* Also "green-purple-secret" and "green-purple-secret-k8s" are found.
175-
=======
175+
=======
176176
* We find "green-secret" by labels.
177-
>>>>>>> main
177+
>>>>>>> main
178178
* </pre>
179179
*/
180180
@Test

0 commit comments

Comments
 (0)