From c639233ea1f307ad54ff5e3e7fce08760a3522b9 Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Sat, 6 Mar 2021 15:13:06 -0500 Subject: [PATCH] tofu: Fix format in error message --- tofu/tofu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {