Merge pull request #641 from fluxcd/fix-dpanic-log
This commit is contained in:
commit
be151c2fc1
|
|
@ -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 != "":
|
||||
|
|
|
|||
Loading…
Reference in New Issue