diff options
| author | Adnan Maolood <[email protected]> | 2021-03-06 15:13:06 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-03-06 15:13:06 -0500 |
| commit | c639233ea1f307ad54ff5e3e7fce08760a3522b9 (patch) | |
| tree | eaf9b5ddcc78f78679ff782ac08d073508bc51c4 | |
| parent | tofu: Automatically create file in KnownHosts.Load (diff) | |
| download | go-gemini-c639233ea1f307ad54ff5e3e7fce08760a3522b9.tar.xz go-gemini-c639233ea1f307ad54ff5e3e7fce08760a3522b9.zip | |
tofu: Fix format in error message
| -rw-r--r-- | tofu/tofu.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tofu/tofu.go b/tofu/tofu.go index a2f2a9a..fb7361b 100644 --- a/tofu/tofu.go +++ b/tofu/tofu.go @@ -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 { |