Skip to content

Commit be151c2

Browse files
authored
Merge pull request #641 from fluxcd/fix-dpanic-log
2 parents 0e73395 + 45641b1 commit be151c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/git/libgit2/checkout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import (
3838
// git.CheckoutOptions.
3939
func CheckoutStrategyForOptions(ctx context.Context, opt git.CheckoutOptions) git.CheckoutStrategy {
4040
if opt.RecurseSubmodules {
41-
logr.FromContextOrDiscard(ctx).Info("git submodule recursion not supported by '%s'", Implementation)
41+
logr.FromContextOrDiscard(ctx).Info(fmt.Sprintf("git submodule recursion not supported by implementation '%s'", Implementation))
4242
}
4343
switch {
4444
case opt.Commit != "":

0 commit comments

Comments
 (0)