From 50f34d013e4a032eb9df1c77a0ca73bf502d01ea Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Sun, 10 May 2015 13:23:03 +0900 Subject: [PATCH] Use Errorf --- pkg/volumeclaimbinder/persistent_volume_claim_binder_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/volumeclaimbinder/persistent_volume_claim_binder_test.go b/pkg/volumeclaimbinder/persistent_volume_claim_binder_test.go index 5e53d8287fe..57f4e91b41e 100644 --- a/pkg/volumeclaimbinder/persistent_volume_claim_binder_test.go +++ b/pkg/volumeclaimbinder/persistent_volume_claim_binder_test.go @@ -185,7 +185,7 @@ func TestBindingWithExamples(t *testing.T) { claim, error := client.PersistentVolumeClaims("ns").Get("any") if error != nil { - t.Error("Unexpected error getting PVC from client: %v", err) + t.Errorf("Unexpected error getting PVC from client: %v", err) } volumeIndex := NewPersistentVolumeOrderedIndex()