mirror of
https://git.sr.ht/~adnano/go-gemini
synced 2024-09-18 13:31:36 +02:00
tofu: Fix format in error message
This commit is contained in:
parent
90b1e98d61
commit
8ec13e2c03
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user