1
0
Fork 0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-05-06 00:26:19 +02:00

tofu: Fix format in error message

This commit is contained in:
Adnan Maolood 2021-03-06 15:13:06 -05:00
parent 5677440876
commit c639233ea1

View File

@ -317,7 +317,7 @@ func (h Host) String() string {
// UnmarshalText unmarshals the host from the provided text.
func (h *Host) UnmarshalText(text []byte) error {
const format = "hostname algorithm hex-fingerprint expiry-unix-ts"
const format = "hostname algorithm fingerprint"
parts := bytes.Split(text, []byte(" "))
if len(parts) != 3 {