From f87199c40682ab67813f045e04a4f1e8db4fcf3f Mon Sep 17 00:00:00 2001 From: Dewald de Jager Date: Mon, 5 Jun 2023 12:39:13 +0200 Subject: [PATCH] Change the receiver type so the tests pass --- cmd/mdatagen/loader_test.go | 2 +- cmd/mdatagen/metadata.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/mdatagen/loader_test.go b/cmd/mdatagen/loader_test.go index 659b65489ecd..8fca2f8e432e 100644 --- a/cmd/mdatagen/loader_test.go +++ b/cmd/mdatagen/loader_test.go @@ -20,7 +20,7 @@ func Test_loadMetadata(t *testing.T) { { name: "metadata.yaml", want: metadata{ - Type: "test", + Type: "file", SemConvVersion: "1.9.0", Status: &Status{ Class: "receiver", diff --git a/cmd/mdatagen/metadata.yaml b/cmd/mdatagen/metadata.yaml index 4316c4a892bf..054ca3824143 100644 --- a/cmd/mdatagen/metadata.yaml +++ b/cmd/mdatagen/metadata.yaml @@ -1,6 +1,6 @@ # Sample metric metadata file with all available configurations. -type: test +type: file sem_conv_version: 1.9.0