Skip to content

Commit abf648a

Browse files
authored
Merge pull request #44 from sourceplusplus/dev
v0.4.3
2 parents b653ec5 + b395ed1 commit abf648a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Commands:
5454
add Add live instruments/views
5555
get Get live instruments/views
5656
remove Remove live instruments/views
57-
subscribe Subscribe to live instrument/view streams
57+
subscribe Subscribe to live instrument/view events
5858
version Display version information
5959
```
6060

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
kotlin.code.style=official
22

33
cliGroup=com.sourceplusplus
4-
projectVersion=0.4.2
4+
projectVersion=0.4.3
55

66
vertxVersion=4.2.4
77
graalVersion = 21.3.0

src/main/kotlin/spp/cli/commands/developer/Subscribe.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ package spp.cli.commands.developer
1919

2020
import com.github.ajalt.clikt.core.CliktCommand
2121

22-
class Subscribe : CliktCommand(help = "Subscribe to live instrument/view streams") {
22+
class Subscribe : CliktCommand(help = "Subscribe to live instrument/view events") {
2323
override fun run() = Unit
2424
}

src/main/kotlin/spp/cli/commands/developer/view/SubscribeView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class SubscribeView : CliktCommand(
130130
if (value == null) value = metric.getNumber("value").toString()
131131

132132
val metricType = metric.getJsonObject("meta").getString("metricsName")
133-
println("$eventTime ${metric.getString("entityId")} ($metricType): $value")
133+
println("$eventTime ${metric.getString("entityName")} ($metricType): $value")
134134
}
135135
}
136136

0 commit comments

Comments
 (0)