Skip to content

Commit ee64dae

Browse files
committed
exclude spotless on a long builder
1 parent c7444d8 commit ee64dae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

operator/controller/src/main/java/io/apicurio/registry/operator/ApicurioDeployment.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ protected Deployment desired(
2727
ApicurioRegistry apicurioRegistry, Context<ApicurioRegistry> context) {
2828
var labels = apicurioRegistry.getMetadata().getLabels();
2929
labels.putAll(Constants.defaultLabels(apicurioRegistry));
30+
// spotless:off
3031
return new DeploymentBuilder()
3132
.withNewMetadata()
3233
.withName(ApicurioDeployment.name(apicurioRegistry))
@@ -77,5 +78,6 @@ protected Deployment desired(
7778
.endStrategy()
7879
.endSpec()
7980
.build();
81+
// spotless:on
8082
}
8183
}

0 commit comments

Comments
 (0)