Change address syntax to be a URL #3

Merged
balki merged 7 commits from addr-url into main 2024-12-19 10:06:03 -05:00
Showing only changes of commit 7cab173c7d - Show all commits

View File

@ -381,7 +381,9 @@ func ParseAddress(addr string) (addrType AddressType, usc *UnixSocketConfig, sys
err = fmt.Errorf("systemd socket fd address error. Exactly only one of name and idx has to be set. name: %v, idx: %v", sysc.FDName, sysc.FDIndex)
return
}
} else {
// Just assume as TCP address
return TCP, nil, nil, nil
}
// Just assume as TCP address
return TCP, nil, nil, nil
return
}