go-1.12: fix 'go vet' failures

This commit is contained in:
Lubomir I. Ivanov
2019-03-01 18:48:17 +02:00
parent 979bef156a
commit e29c6e1b38
4 changed files with 6 additions and 6 deletions

View File

@@ -374,7 +374,7 @@ func (f *FakeRecorder) PastEventf(obj runtime.Object, timestamp metav1.Time, eve
// AnnotatedEventf emits a fake formatted event to the fake recorder
func (f *FakeRecorder) AnnotatedEventf(obj runtime.Object, annotations map[string]string, eventtype, reason, messageFmt string, args ...interface{}) {
f.Eventf(obj, eventtype, reason, messageFmt, args)
f.Eventf(obj, eventtype, reason, messageFmt, args...)
}
func (f *FakeRecorder) generateEvent(obj runtime.Object, timestamp metav1.Time, eventtype, reason, message string) {