Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit c310bbc

Browse files
author
Bogdan Drutu
authored
Allow overwriting the empty string labels/types in the Resource. (#231)
1 parent 4b0dbcd commit c310bbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resource/Resource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ vendors, MUST be implemented outside of the core libraries in third party or
6161
### Merging
6262
As different mechanisms are run to gain information about a resource, their information
6363
has to be merged into a single resulting resource.
64-
Already set labels or type fields MUST NOT be overwritten. Label key namespaceing SHOULD
65-
be used to prevent collisions across different resource detection steps.
64+
Already set labels or type fields MUST NOT be overwritten unless they are empty string. Label key
65+
namespaceing SHOULD be used to prevent collisions across different resource detection steps.
6666

6767
### Detectors
6868
To make auto-detection implementations easy to use, the core resource package SHOULD define

0 commit comments

Comments
 (0)