mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 05:36:03 +08:00
fix: allow unspecified key type
This commit is contained in:
parent
99f863f444
commit
0cf56d8247
@ -293,7 +293,7 @@ func (a AttributeKey) Validate() error {
|
||||
|
||||
if a.IsColumn {
|
||||
switch a.Type {
|
||||
case AttributeKeyTypeResource, AttributeKeyTypeTag:
|
||||
case AttributeKeyTypeResource, AttributeKeyTypeTag, AttributeKeyTypeUnspecified:
|
||||
break
|
||||
default:
|
||||
return fmt.Errorf("invalid attribute type: %s", a.Type)
|
||||
|
Loading…
x
Reference in New Issue
Block a user