Merge pull request #641 from fluxcd/fix-dpanic-log
This commit is contained in:
commit
be151c2fc1
|
|
@ -38,7 +38,7 @@ import (
|
||||||
// git.CheckoutOptions.
|
// git.CheckoutOptions.
|
||||||
func CheckoutStrategyForOptions(ctx context.Context, opt git.CheckoutOptions) git.CheckoutStrategy {
|
func CheckoutStrategyForOptions(ctx context.Context, opt git.CheckoutOptions) git.CheckoutStrategy {
|
||||||
if opt.RecurseSubmodules {
|
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 {
|
switch {
|
||||||
case opt.Commit != "":
|
case opt.Commit != "":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue