misc: lint
continuous-integration/drone/push Build is passing Details

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-06-02 23:21:56 +02:00
parent 66855b5542
commit ba93384f9b
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ func ParseMiscArgs(args []string, opts *util.Options) error {
opts.HTTPS = true
opts.Request.Server = arg
opts.Logger.Info("DNS-over-HTTPS implicitly set")
_, endpoint, isSplit := strings.Cut(arg, "/")
if isSplit {
opts.HTTPSOptions.Endpoint = "/" + endpoint