From b9d0cc2e28cc0c1358a2a5dbb79bbfae3fa48035 Mon Sep 17 00:00:00 2001 From: Jonathan Gold Date: Mon, 3 Dec 2018 07:58:37 -0500 Subject: [PATCH] etcd: Fix deploy transaction error message This commit removes an unused argument from the error format string. --- etcd/deploy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcd/deploy.go b/etcd/deploy.go index b44bcf28..a2bf47f8 100644 --- a/etcd/deploy.go +++ b/etcd/deploy.go @@ -162,7 +162,7 @@ func AddDeploy(obj Client, id uint64, hash, pHash string, data *string) error { // this way, we only generate one watch event, and only when it's needed result, err := obj.Txn(ifs, ops, nil) if err != nil { - return errwrap.Wrapf(err, "error creating deploy id %d: %s", id) + return errwrap.Wrapf(err, "error creating deploy id %d", id) } if !result.Succeeded { return fmt.Errorf("could not create deploy id %d", id)