Skip to content

Commit

Permalink
Update crd-generator/api-v2/src/main/java/io/fabric8/crdv2/generator/…
Browse files Browse the repository at this point in the history
…v1/CustomResourceHandler.java

Co-authored-by: Bernhard Strähle <[email protected]>
  • Loading branch information
shawkins and baloo42 authored Apr 29, 2024
1 parent cfa0f60 commit 4352572
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void handle(CustomResourceInfo config, ResolvingContext resolvingContext)
PrinterColumn printerColumn = ((PrinterColumn) property.annotation);
String column = printerColumn.name();
if (Utils.isNullOrEmpty(column)) {
column = path.substring(path.lastIndexOf("."));
column = path.substring(path.lastIndexOf(".") + 1).toUpperCase();
}
String format = printerColumn.format();
int priority = printerColumn.priority();
Expand Down

0 comments on commit 4352572

Please sign in to comment.