lib/instana/snapshot/fargate_task.rb in instana-1.200.0.pre1 vs lib/instana/snapshot/fargate_task.rb in instana-1.200.0
- old
+ new
@@ -29,10 +29,10 @@
knownStatus: task_metadata['KnownStatus'],
pullStartedAt: task_metadata['PullStartedAt'],
pullStoppedAt: task_metadata['PullStoppedAt'],
instanaZone: instana_zone,
tags: instana_tags
- }.compact
+ }.reject { |_, v| v.nil? }
end
def snapshot
{
name: ID,