Skip to content

Commit

Permalink
Rename get_metastruct to get_metastruct_field
Browse files Browse the repository at this point in the history
  • Loading branch information
vpellan committed Feb 5, 2025
1 parent aa4b999 commit 52d5a77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/datadog/tracing/metadata/metastruct.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ def deep_merge_metastruct!(second)
v2
end
end
metastruct.merge!(second.to_h, &merger)
metastruct.merge!(second.to_h, &merger) # steep:ignore BlockTypeMismatch
end

def get_metastruct(key)
def get_metastruct_field(key)
metastruct[key]
end

Expand Down
2 changes: 1 addition & 1 deletion sig/datadog/tracing/metadata/metastruct.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Datadog

def deep_merge_metastruct!: (metastruct second) -> void

def get_metastruct: (String key) -> untyped
def get_metastruct_field: (String key) -> untyped

def metastruct: () -> metastruct
end
Expand Down

0 comments on commit 52d5a77

Please sign in to comment.