Skip to content

Commit a0a22f6

Browse files
committed
fix: unit test
1 parent 5904ab1 commit a0a22f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/io/javaoperatorsdk/admissioncontroller/NotAllowedException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public NotAllowedException(String message, Throwable cause, boolean enableSuppre
2626

2727
public NotAllowedException(String message) {
2828
super(message);
29+
this.status.setMessage(message);
2930
this.status.setCode(403);
3031
}
3132

0 commit comments

Comments
 (0)