Merge pull request #8036 from shawnps/patch-10

Use Errorf in persistent_volume_claim_binder_test.
This commit is contained in:
Jerzy Szczepkowski 2015-05-11 11:17:04 +02:00
commit 36ab4b4c2f

View File

@ -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()