Skip to content
Snippets Groups Projects
Commit bdec583f authored by tranoris's avatar tranoris
Browse files

fix for #9

parent 4e8b2397
No related branches found
No related tags found
1 merge request!10MR for Release 2024Q4
Pipeline #9737 passed
...@@ -184,9 +184,11 @@ public class KubernetesService extends DomainModelDefinition ...@@ -184,9 +184,11 @@ public class KubernetesService extends DomainModelDefinition
.resourceSpecification( rSpecRef ) .resourceSpecification( rSpecRef )
.resourceVersion( this.version); .resourceVersion( this.version);
String cprefix = "";
String firstToken = this.fullResourceName.substring( 0, this.fullResourceName.indexOf('@') ); if ( this.name.indexOf('@')>0) {
String cprefix = this.kind + "." + firstToken + "."; String firstToken = this.name.substring( 0, this.name.indexOf('@') );
cprefix = this.kind + "." + firstToken + ".";
}
rs.addResourceCharacteristicItemShort("clusterMasterURL", this.clusterMasterURL, EValueType.TEXT.getValue()); rs.addResourceCharacteristicItemShort("clusterMasterURL", this.clusterMasterURL, EValueType.TEXT.getValue());
rs.addResourceCharacteristicItemShort("currentContextCluster", this.currentContextCluster, EValueType.TEXT.getValue()); rs.addResourceCharacteristicItemShort("currentContextCluster", this.currentContextCluster, EValueType.TEXT.getValue());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment