Commit 80d9cb4e authored by Christos Tranoris's avatar Christos Tranoris
Browse files

fix for #60. Ignoring prefix chars for services with no Kind

parent 09544bf4
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1266,7 +1266,7 @@ public class ServiceRepoService {
                resourcename = firstToken ;  //example "cr0fc1234-amf"       
              }
              
              Boolean resourceIsSameKind = aService.checkIsKindResource(res);
              Boolean resourceIsSameKind = aService.checkIsKindResource(res) || aService.getServiceCharacteristicByName("Kind")==null; //either Kind is the same or simply does not exist. Then behave the same
              if (resourceIsSameKind) { //if this service is the same kind as the resource then don't prefix the characteristic
                kind = "";
                resourcename="";