Use Errorf

This commit is contained in:
Shawn Smith 2015-05-10 13:23:03 +09:00
parent 738f403eea
commit 50f34d013e

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