diff options
author | Przemyslaw Wasala <przemyslaw.wasala@nokia.com> | 2018-08-01 07:26:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-01 07:26:39 +0000 |
commit | a150bc08ad326699717e09903e42d462e5e9c935 (patch) | |
tree | 59ae3970638a57671e484fb9574da90c63d0e88b /hv-collector-main/src | |
parent | cbf9e25b028110ed8e87fac370f9f9aefbafc565 (diff) | |
parent | 7bc4137767f88c2aae8f966065c5bea083234190 (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.kt | 4 |
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) |