Skip to content

Commit 0ad5a48

Browse files
roblav96sjanuary
authored andcommitted
Fix undefined host in url (#462)
1 parent 8e02fb0 commit 0ad5a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

probes/http-outbound-probe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function formatURL(httpOptions) {
119119
if (httpOptions.host) {
120120
url += httpOptions.host;
121121
} else if (httpOptions.hostname) {
122-
url += httpOptions.host;
122+
url += httpOptions.hostname;
123123
} else {
124124
url += 'localhost';
125125
}

0 commit comments

Comments
 (0)