Skip to content

Commit

Permalink
Fix format errors
Browse files Browse the repository at this point in the history
Signed-off-by: MichaelMorris <michael.morris@est.tech>
  • Loading branch information
MichaelMorrisEst committed Nov 27, 2024
1 parent ec65fd6 commit ef8dab2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ public class CustomResourceInfo {
private final String[] labels;

public CustomResourceInfo(String group, String version, String kind, String singular,
String plural, String[] shortNames, String[] categories, boolean storage, boolean served, boolean deprecated, String deprecationWarning,
String plural, String[] shortNames, String[] categories, boolean storage, boolean served, boolean deprecated,
String deprecationWarning,
Scope scope, Class<?> definition, String crClassName,
String specClassName, String statusClassName, String[] annotations, String[] labels) {
this.group = group;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@Version("v1alpha1")
@ShortNames("jr")
@AdditionalPrinterColumn(name = "Age", jsonPath = ".metadata.creationTimestamp", type = Type.DATE)
@Categories({"cat1", "cat2"})
@Categories({ "cat1", "cat2" })
public class JokeRequest extends CustomResource<JokeRequestSpec, JokeRequestStatus> implements Namespaced {

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@

/**
* Specifies the categories the annotated Custom Resource belongs to.
* See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#categories for more details.
* See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#categories for more
* details.
*/
@Target({ TYPE })
@Retention(RUNTIME)
public @interface Categories {

/**
* @return the categories this Custom Resource belongs to.
*/
String[] value() default {};
/**
* @return the categories this Custom Resource belongs to.
*/
String[] value() default {};
}

0 comments on commit ef8dab2

Please sign in to comment.