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:
stevenhorsman
2025-08-21 15:17:00 +01:00
committed by Fabiano Fidêncio
parent 381da9e603
commit 8cbb1a4357
4 changed files with 6 additions and 6 deletions

View File

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