Don't give up if we fail to fetch a key (#1483)

* Don't give up if we fail to fetch a key

* Fix logging line

* furl nolint
This commit is contained in:
Neil Alexander 2020-10-06 17:59:08 +01:00 committed by GitHub
parent ee79d662e7
commit 4feff8e8d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 5 deletions

View file

@ -98,10 +98,6 @@ func (s *ServerKeyAPI) FetchKeys(
// we've failed to satisfy it from local keys, database keys or from
// all of the fetchers. Report an error.
logrus.Warnf("Failed to retrieve key %q for server %q", req.KeyID, req.ServerName)
return results, fmt.Errorf(
"server key API failed to satisfy key request for server %q key ID %q",
req.ServerName, req.KeyID,
)
}
}