We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f36710e commit 603dd71Copy full SHA for 603dd71
src/main/kotlin/spp/protocol/platform/general/Service.kt
@@ -102,8 +102,8 @@ data class Service(
102
fun withId(id: String?): Service {
103
if (id == null) return this
104
val definition = IDManager.ServiceID.analysisId(id)
105
- if (name.contains("|")) {
106
- val parts = name.split("|")
+ if (definition.name.contains("|")) {
+ val parts = definition.name.split("|")
107
return copy(
108
name = parts[0],
109
environment = parts[1],
0 commit comments