mirror of https://github.com/docker/docs.git
fixing vet error in existing notary code
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
This commit is contained in:
parent
2833a88292
commit
21ee24bc30
|
|
@ -196,7 +196,7 @@ func GetTimestampKeyHandler(ctx context.Context, w http.ResponseWriter, r *http.
|
|||
|
||||
key, err := timestamp.GetOrCreateTimestampKey(gun, store, crypto, keyAlgorithm)
|
||||
if err != nil {
|
||||
logger.Error("500 GET timestamp key: %v", err)
|
||||
logger.Errorf("500 GET timestamp key: %v", err)
|
||||
return errors.ErrUnknown.WithDetail(err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue