Skip to content

Commit 290c6f9

Browse files
authored
fix: build javadoc issue (#703)
1 parent 9769d3a commit 290c6f9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

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

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

3+
import io.fabric8.kubernetes.api.model.HasMetadata;
34
import io.fabric8.kubernetes.client.CustomResource;
45
import io.javaoperatorsdk.operator.api.reconciler.UpdateControl;
56

@@ -11,10 +12,9 @@
1112
* is ignored.
1213
*
1314
* In order to work the status object returned by CustomResource.getStatus() should not be null. In
14-
* addition to that from the controller that the
15-
* {@link UpdateControl#updateStatusSubResource(CustomResource)} or
16-
* {@link UpdateControl#updateCustomResourceAndStatus(CustomResource)} should be returned. The
17-
* observed generation is not updated in other cases.
15+
* addition to that from the controller that the {@link UpdateControl#updateStatus(HasMetadata)} or
16+
* {@link UpdateControl#updateResourceAndStatus(HasMetadata)} should be returned. The observed
17+
* generation is not updated in other cases.
1818
*
1919
* @see ObservedGenerationAwareStatus
2020
*/

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public static <T extends HasMetadata> UpdateControl<T> updateStatus(
3131
/**
3232
* As a results of this there will be two call to K8S API. First the custom resource will be
3333
* updates then the status sub-resource.
34-
*
34+
*
35+
* @param <T> resource type
3536
* @param customResource - custom resource to use in both API calls
3637
* @return UpdateControl instance
3738
*/

0 commit comments

Comments
 (0)