dial: fix tracing attribute

This commit is contained in:
Dave Horton
2022-04-03 15:36:06 -04:00
parent a950f9f738
commit 70f7775893

View File

@@ -406,7 +406,7 @@ class TaskDial extends Task {
this._killOutdials(); this._killOutdials();
}, this.timeout * 1000); }, this.timeout * 1000);
this.span.setAttributes('dial.target', JSON.stringify(this.target)); this.span.setAttributes({'dial.target': JSON.stringify(this.target)});
this.target.forEach(async(t) => { this.target.forEach(async(t) => {
try { try {
t.url = t.url || this.confirmUrl; t.url = t.url || this.confirmUrl;