aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-test-utils
diff options
context:
space:
mode:
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)