From 3ad1cca2fc9fedf6ae8336c8212078019a7d40ff Mon Sep 17 00:00:00 2001 From: David Simansky Date: Thu, 17 Sep 2026 10:55:13 +0200 Subject: [PATCH] Fix non-constant format string error on go 1.26 --- go.mod | 2 +- testing/duck/testbindable.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 12a58c8831..9aee9e9f64 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module knative.dev/pkg -go 1.25.0 +go 1.26.0 require ( github.com/blang/semver/v4 v4.0.0 diff --git a/testing/duck/testbindable.go b/testing/duck/testbindable.go index 346a45208e..895b003e09 100644 --- a/testing/duck/testbindable.go +++ b/testing/duck/testbindable.go @@ -150,7 +150,7 @@ func (tbs *TestBindableStatus) InitializeConditions() { // MarkBindingUnavailable marks the TestBindable's Ready condition to False with // the provided reason and message. func (tbs *TestBindableStatus) MarkBindingUnavailable(reason, message string) { - tbCondSet.Manage(tbs).MarkFalse(apis.ConditionReady, reason, message) + tbCondSet.Manage(tbs).MarkFalse(apis.ConditionReady, reason, "%s", message) tbs.clearLTT() }