summaryrefslogtreecommitdiffstats
path: root/hv-collector-main/src
diff options
context:
space:
mode:
authorPrzemyslaw Wasala <przemyslaw.wasala@nokia.com>2018-08-01 07:26:39 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-01 07:26:39 +0000
commita150bc08ad326699717e09903e42d462e5e9c935 (patch)
tree59ae3970638a57671e484fb9574da90c63d0e88b /hv-collector-main/src
parentcbf9e25b028110ed8e87fac370f9f9aefbafc565 (diff)
parent7bc4137767f88c2aae8f966065c5bea083234190 (diff)
Merge "Implemented simple tcp client"
Diffstat (limited to 'hv-collector-main/src')
-rw-r--r--hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/ArgBasedServerConfiguration.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/ArgBasedServerConfiguration.kt b/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/ArgBasedServerConfiguration.kt
index 6311b6c0..4e614cdb 100644
--- a/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/ArgBasedServerConfiguration.kt
+++ b/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/ArgBasedServerConfiguration.kt
@@ -54,8 +54,8 @@ internal object ArgBasedServerConfiguration {
try {
parser.parse(options, args).run {
return ServerConfiguration(
- intValue(OPT_PORT, DefaultValues.PORT),
- stringValue(OPT_CONFIG_URL, DefaultValues.CONFIG_URL))
+ stringValue(OPT_CONFIG_URL, DefaultValues.CONFIG_URL),
+ intValue(OPT_PORT, DefaultValues.PORT))
}
} catch (ex: Exception) {
throw WrongArgumentException(ex)