diff --git a/pkg/git/libgit2/checkout.go b/pkg/git/libgit2/checkout.go index 8e1e5cad9..6e9fccb1b 100644 --- a/pkg/git/libgit2/checkout.go +++ b/pkg/git/libgit2/checkout.go @@ -38,7 +38,7 @@ import ( // git.CheckoutOptions. func CheckoutStrategyForOptions(ctx context.Context, opt git.CheckoutOptions) git.CheckoutStrategy { if opt.RecurseSubmodules { - logr.FromContextOrDiscard(ctx).Info("git submodule recursion not supported by '%s'", Implementation) + logr.FromContextOrDiscard(ctx).Info(fmt.Sprintf("git submodule recursion not supported by implementation '%s'", Implementation)) } switch { case opt.Commit != "":