Skip to content

Commit 7034988

Browse files
doc: Update UpdateControl#patchStatus JavaDoc
Signed-off-by: Antonio Fernandez Alhambra <[email protected]>
1 parent 3723b1c commit 7034988

File tree

1 file changed

+2
-4
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler

1 file changed

+2
-4
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/UpdateControl.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
package io.javaoperatorsdk.operator.api.reconciler;
22

3-
import java.util.Optional;
4-
53
import io.fabric8.kubernetes.api.model.HasMetadata;
64
import io.fabric8.kubernetes.client.CustomResource;
5+
import java.util.Optional;
76

87
public class UpdateControl<P extends HasMetadata> extends BaseControl<UpdateControl<P>> {
98

@@ -21,8 +20,7 @@ private UpdateControl(P resource, boolean patchResource, boolean patchStatus) {
2120
}
2221

2322
/**
24-
* Preferred way to update the status. It does not do optimistic locking. Uses JSON Patch to patch
25-
* the resource.
23+
* Preferred way to update the status. Uses JSON Patch to patch the resource.
2624
*
2725
* <p>Note that this does not work, if the {@link CustomResource#initStatus()} is implemented,
2826
* since it breaks the diffing process. Don't implement it if using this method. There is also an

0 commit comments

Comments
 (0)