aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-test-utils
diff options
context:
space:
mode:
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-03 10:33:40 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-03 13:23:36 +0200
commitde8e834e2bfc714e7a588f7470fe2ef7ba368275 (patch)
tree91c8f15bb5e4c5817a78c966da16a7717675b6c0 /hv-collector-test-utils
parentfd44b433ac9825be6cc654e8a566f9d0bfc70166 (diff)
Change domain to lower case
Change-Id: I097def2ba720fafe0a1e1a88e87f8c03663627c9 Issue-ID: DCAEGEN2-847 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'hv-collector-test-utils')
-rw-r--r--hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt b/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt
index 0cbd6505..20d0c50f 100644
--- a/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt
+++ b/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt
@@ -47,7 +47,7 @@ fun commonHeader(domain: VesEventDomain = PERF3GPP,
priority: Priority = Priority.NORMAL): CommonEventHeader =
CommonEventHeader.newBuilder()
.setVersion("sample-version")
- .setDomain(domain.name)
+ .setDomain(domain.domainName)
.setSequence(1)
.setPriority(priority)
.setEventId(id)