Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucamrgs authored and MaartendeKruijf committed May 13, 2024
1 parent d4fc078 commit 8c578cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (httpOptions *HttpOptions) ExtractUrl() (string, error) {
}
}

// If for an http-api command the agent-target address is a URL, it must be handled differently
// If for an http-api command the agent-target address is a URL, it must be handled differently than dname and ip addresses
if len(target.Address["url"]) > 0 {
if target.Address["url"][0] != "" {
urlObject, err := parsePathBasedUrl(target.Address["url"][0])
Expand Down

0 comments on commit 8c578cf

Please sign in to comment.