Skip to content

Commit

Permalink
RANGER-4660: fixed error while creating service having name without a…
Browse files Browse the repository at this point in the history
…n underscore
  • Loading branch information
siddheshphatak92 authored and mneethiraj committed Jan 18, 2024
1 parent 7dd8d5d commit 11dbcf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4405,7 +4405,7 @@ private String computeLinkedServiceName() {
if (StringUtils.isBlank(ret)) {
final int lastIndexOfSep = StringUtils.lastIndexOf(resourceServiceName, SEP);

ret = (lastIndexOfSep != -1) ? resourceServiceName.substring(0, lastIndexOfSep) + SEP + linkedServiceType : null;
ret = (lastIndexOfSep != -1) ? resourceServiceName.substring(0, lastIndexOfSep) + SEP + linkedServiceType : linkedServiceType;
}

return ret;
Expand Down

0 comments on commit 11dbcf7

Please sign in to comment.