From 7bc4137767f88c2aae8f966065c5bea083234190 Mon Sep 17 00:00:00 2001 From: Jakub Dudycz Date: Tue, 29 May 2018 14:46:27 +0200 Subject: Implemented simple tcp client Signed-off-by: Jakub Dudycz Change-Id: Iaf913186b93eb7eebfb6f44c19d489a64ed60c2b Issue-ID: DCAEGEN2-601 --- .../onap/dcae/collectors/veshv/main/ArgBasedServerConfiguration.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hv-collector-main') 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) -- cgit 1.2.3-korg