mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-31 09:26:52 +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:
		| @@ -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 { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user