Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove leading and trailing space from k8s labels
Browse files Browse the repository at this point in the history
mcruzdev committed Jan 13, 2024
1 parent ddfcbc5 commit 753e945
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -14,6 +14,6 @@ private ResourceNameUtil() {
*/
public static String getResourceName(PlatformConfiguration platformConfiguration,
ApplicationInfoBuildItem applicationInfo) {
return platformConfiguration.getName().orElse(applicationInfo.getName());
return platformConfiguration.getName().orElse(applicationInfo.getName()).trim();
}
}

0 comments on commit 753e945

Please sign in to comment.