Skip to content

Commit 47ca47e

Browse files
committed
format
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 44e13ab commit 47ca47e

File tree

1 file changed

+4
-4
lines changed
  • sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample

1 file changed

+4
-4
lines changed

sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/Utils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public static String serviceName(WebPage webPage) {
4343
return webPage.getMetadata().getName();
4444
}
4545

46-
public static ErrorStatusUpdateControl<WebPage> handleError(WebPage resource, Exception e) {
47-
resource.getStatus().setErrorMessage("Error: " + e.getMessage());
48-
return ErrorStatusUpdateControl.patchStatus(resource);
49-
}
46+
public static ErrorStatusUpdateControl<WebPage> handleError(WebPage resource, Exception e) {
47+
resource.getStatus().setErrorMessage("Error: " + e.getMessage());
48+
return ErrorStatusUpdateControl.patchStatus(resource);
49+
}
5050

5151
public static void simulateErrorIfRequested(WebPage webPage) throws ErrorSimulationException {
5252
if (webPage.getSpec().getHtml().contains("error")) {

0 commit comments

Comments
 (0)