tofu: Fix format in error message
This commit is contained in:
parent
5677440876
commit
c639233ea1
@ -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