From be96a3b17cd6c98bea1e03c4947daf664ab472be Mon Sep 17 00:00:00 2001 From: maplain Date: Fri, 7 Apr 2017 00:10:29 -0700 Subject: [PATCH] add a missing format string argument --- src/common/utils/notary/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils/notary/helper.go b/src/common/utils/notary/helper.go index a6c9ed1d7..f0d43e399 100644 --- a/src/common/utils/notary/helper.go +++ b/src/common/utils/notary/helper.go @@ -84,7 +84,7 @@ func GetTargets(notaryEndpoint string, username string, fqRepo string) ([]Target rootJSON := path.Join(notaryCachePath, "tuf", fqRepo, "metadata/root.json") rmErr := os.Remove(rootJSON) if rmErr != nil { - log.Warningf("Failed to clear cached root.json: %s, error: %v, when repo is removed from notary the signature status maybe incorrect") + log.Warningf("Failed to clear cached root.json: %s, error: %v, when repo is removed from notary the signature status maybe incorrect", rootJSON, rmErr) } for _, t := range targets { res = append(res, Target{t.Name, t.Hashes})