From 0fe5dbf6e730fb512c38e1bb6c16730a27bbe792 Mon Sep 17 00:00:00 2001 From: Jack Berg Date: Tue, 3 Sep 2024 16:54:49 -0500 Subject: [PATCH] Fix validator shell tests --- validator/shelltests/hex_integer.yaml | 3 ++- validator/shelltests/string_for_int.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/validator/shelltests/hex_integer.yaml b/validator/shelltests/hex_integer.yaml index b742f2c..b6504f9 100644 --- a/validator/shelltests/hex_integer.yaml +++ b/validator/shelltests/hex_integer.yaml @@ -9,7 +9,8 @@ resource: # Configure resource attributes. attributes: # Configure `service.name` resource attribute - service.name: "${OTEL_SERVICE_NAME:-unknown_service}" + - name: service.name + value: "${OTEL_SERVICE_NAME:-unknown_service}" attribute_limits: # Configure max attribute value size. diff --git a/validator/shelltests/string_for_int.yaml b/validator/shelltests/string_for_int.yaml index 8aec2c1..00818bb 100644 --- a/validator/shelltests/string_for_int.yaml +++ b/validator/shelltests/string_for_int.yaml @@ -9,7 +9,8 @@ resource: # Configure resource attributes. attributes: # Configure `service.name` resource attribute - service.name: "${OTEL_SERVICE_NAME:-unknown_service}" + - name: service.name + value: "${OTEL_SERVICE_NAME:-unknown_service}" attribute_limits: # Configure max attribute value size.