From 2c8cac3bd6e0d6d6f17b0aa770999eace336b152 Mon Sep 17 00:00:00 2001 From: allencloud Date: Mon, 13 Feb 2017 10:16:57 +0800 Subject: [PATCH] remove redundant colon introduced by mistake Signed-off-by: allencloud --- volume_prune.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volume_prune.go b/volume_prune.go index 53a31ee39b..2e7fea7747 100644 --- a/volume_prune.go +++ b/volume_prune.go @@ -29,7 +29,7 @@ func (cli *Client) VolumesPrune(ctx context.Context, pruneFilters filters.Args) defer ensureReaderClosed(serverResp) if err := json.NewDecoder(serverResp.body).Decode(&report); err != nil { - return report, fmt.Errorf("Error retrieving volume prune report:: %v", err) + return report, fmt.Errorf("Error retrieving volume prune report: %v", err) } return report, nil