mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 19:54:35 +00:00
qmp_test: Fix Warning and Error level logs
This commit fixes an issue with the log handlers defined by qmp_test. The issue was picked up by the latest version of go vet on go tip. qemu/qmp_test.go:56::error: missing ... in args forwarded to printf-like function (vet) qemu/qmp_test.go:60::error: missing ... in args forwarded to printf-like function (vet) Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
This commit is contained in:
parent
430e72c63b
commit
4ca232ecdf
@ -53,11 +53,11 @@ func (l qmpTestLogger) Infof(format string, v ...interface{}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (l qmpTestLogger) Warningf(format string, v ...interface{}) {
|
func (l qmpTestLogger) Warningf(format string, v ...interface{}) {
|
||||||
l.Infof(format, v)
|
l.Infof(format, v...)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (l qmpTestLogger) Errorf(format string, v ...interface{}) {
|
func (l qmpTestLogger) Errorf(format string, v ...interface{}) {
|
||||||
l.Infof(format, v)
|
l.Infof(format, v...)
|
||||||
}
|
}
|
||||||
|
|
||||||
type qmpTestCommand struct {
|
type qmpTestCommand struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user