Skip to content

Commit a7ab6ee

Browse files
committed
refactoring
Former-commit-id: 9700e98
1 parent 07ffa54 commit a7ab6ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin/src/main/kotlin/spp/jetbrains/sourcemarker/discover/TCPServiceDiscoveryBackend.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import spp.jetbrains.sourcemarker.settings.serviceHostNormalized
2828
import spp.protocol.SourceMarkerServices
2929
import spp.protocol.SourceMarkerServices.Utilize
3030
import spp.protocol.extend.TCPServiceFrameParser
31+
import spp.protocol.platform.PlatformAddress
3132
import spp.protocol.status.MarkerConnection
3233
import java.util.*
3334

@@ -126,7 +127,7 @@ class TCPServiceDiscoveryBackend : ServiceDiscoveryBackend {
126127
pluginConfig.serviceToken?.let { headers.put("token", it) }
127128
FrameHelper.sendFrame(
128129
BridgeEventType.SEND.name.toLowerCase(),
129-
SourceMarkerServices.Status.MARKER_CONNECTED,
130+
PlatformAddress.MARKER_CONNECTED.address,
130131
replyAddress, headers, true, JsonObject.mapFrom(pc), socket!!
131132
)
132133
}

0 commit comments

Comments
 (0)