Skip to content

Commit f452e7c

Browse files
committed
revert change which should not be part of this PR
1 parent 86cbc2c commit f452e7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

operator/src/main/java/it/aboutbits/postgresql/crd/clusterconnection/ClusterConnectionSpec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
public class ClusterConnectionSpec {
1919
@Required
2020
@ValidationRule(
21-
value = "self.trim().size() > 0",
21+
value = "self.size() > 0",
2222
message = "The ClusterConnection host must not be empty."
2323
)
2424
private String host = "";
@@ -30,7 +30,7 @@ public class ClusterConnectionSpec {
3030

3131
@Required
3232
@ValidationRule(
33-
value = "self.trim().size() > 0",
33+
value = "self.size() > 0",
3434
message = "The ClusterConnection database must not be empty."
3535
)
3636
private String database = "postgres";

0 commit comments

Comments
 (0)