Commit f928da8
committed
improve: GenericRetry does not provide mutable singleton instance
This might easily result in unintended side effect if someone
uses `DEFAULT` instance in one controller, changes some paramter; then uses the instance
for an other controller, in that case the changed parameter will apply also for other controller
what is quite unintuitive
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>1 parent c0f9db0 commit f928da8
File tree
2 files changed
+7
-2
lines changed- operator-framework-core/src/main/java/io/javaoperatorsdk/operator
- api/config
- processing/retry
2 files changed
+7
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
16 | | - | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
0 commit comments