Skip to content

Commit b4b170e

Browse files
committed
feat: using SSA for finalizer and primary patch (#2305)
Signed-off-by: Attila Mészáros <[email protected]> Signed-off-by: Attila Mészáros <[email protected]>
1 parent 92d710c commit b4b170e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -379,18 +379,18 @@ default boolean useSSAToPatchPrimaryResource() {
379379
* Determines whether resources retrieved from caches such as via calls to
380380
* {@link Context#getSecondaryResource(Class)} should be defensively cloned first.
381381
* </p>
382-
*
382+
*
383383
* <p>
384384
* Defensive cloning to prevent problematic cache modifications (modifying the resource would
385385
* otherwise modify the stored copy in the cache) was transparently done in previous JOSDK
386386
* versions. This might have performance consequences and, with the more prevalent use of
387387
* Server-Side Apply, where you should create a new copy of your resource with only modified
388388
* fields, such modifications of these resources are less likely to occur.
389389
* </p>
390-
*
390+
*
391391
* @return {@code true} if resources should be defensively cloned before returning them from
392392
* caches, {@code false} otherwise
393-
*
393+
*
394394
* @since 5.0.0
395395
*/
396396
default boolean cloneSecondaryResourcesWhenGettingFromCache() {

0 commit comments

Comments
 (0)