mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-04 10:24:37 +00:00
runtime: Fix non constant Errorf formatting
As part of the go 1.24.6 bump there are errors about the incorrect use of a errorf, so switch to the non-formatting version, or add the format string as appropriate Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
committed by
Fabiano Fidêncio
parent
381da9e603
commit
8cbb1a4357
@@ -178,7 +178,7 @@ func notImplemented(name string) error {
|
||||
|
||||
err := errors.Errorf("%s: not implemented", name)
|
||||
|
||||
hvLogger.Errorf(err.Error())
|
||||
hvLogger.Error(err.Error())
|
||||
|
||||
if tracer, ok := err.(interface{ StackTrace() errors.StackTrace }); ok {
|
||||
for _, f := range tracer.StackTrace() {
|
||||
|
Reference in New Issue
Block a user