Skip to content

Commit 0211434

Browse files
committed
Fix build
1 parent e1dc7b1 commit 0211434

File tree

10 files changed

+320
-648
lines changed

10 files changed

+320
-648
lines changed

go.mod

Lines changed: 94 additions & 102 deletions
Large diffs are not rendered by default.

go.sum

Lines changed: 218 additions & 535 deletions
Large diffs are not rendered by default.

pkg/kf/commands/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ import (
2626
"path"
2727
"sync"
2828

29+
"dario.cat/mergo"
2930
kfconfig "github.com/google/kf/v2/pkg/apis/kf/config"
3031
"github.com/google/kf/v2/pkg/apis/kf/v1alpha1"
3132
kf "github.com/google/kf/v2/pkg/client/kf/clientset/versioned/typed/kf/v1alpha1"
3233
"github.com/google/kf/v2/pkg/kf/injection"
3334
utils "github.com/google/kf/v2/pkg/kf/internal/utils/cli"
34-
"github.com/imdario/mergo"
3535
apierrors "k8s.io/apimachinery/pkg/api/errors"
3636
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3737
"k8s.io/cli-runtime/pkg/genericclioptions"

pkg/kf/commands/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"runtime"
2121
"sync"
2222

23+
"dario.cat/mergo"
2324
"github.com/google/kf/v2/pkg/apis/kf/v1alpha1"
2425
"github.com/google/kf/v2/pkg/kf/commands/completion"
2526
"github.com/google/kf/v2/pkg/kf/commands/config"
@@ -31,7 +32,6 @@ import (
3132
"github.com/google/kf/v2/pkg/kf/doctor/troubleshooter"
3233
utils "github.com/google/kf/v2/pkg/kf/internal/utils/cli"
3334
"github.com/google/kf/v2/third_party/k8s.io/kubectl/pkg/util/templates"
34-
"github.com/imdario/mergo"
3535
"github.com/spf13/cobra"
3636
v1 "k8s.io/api/core/v1"
3737
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

pkg/kf/internal/genericcli/xargs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"strings"
2525
"text/template"
2626

27-
"github.com/alessio/shellescape"
27+
"al.essio.dev/pkg/shellescape"
2828
"github.com/fatih/color"
2929
"github.com/google/kf/v2/pkg/kf/commands/config"
3030
"github.com/google/kf/v2/pkg/kf/spaces"

pkg/kf/manifest/manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import (
2525
"sort"
2626
"strings"
2727

28+
"dario.cat/mergo"
2829
"github.com/google/kf/v2/pkg/apis/kf/v1alpha1"
2930
"github.com/google/kf/v2/pkg/internal/envutil"
30-
"github.com/imdario/mergo"
3131
corev1 "k8s.io/api/core/v1"
3232
"k8s.io/apimachinery/pkg/util/sets"
3333
"knative.dev/pkg/kmp"

pkg/reconciler/app/resources/deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strconv"
1111
"strings"
1212

13-
"github.com/alessio/shellescape"
13+
"al.essio.dev/pkg/shellescape"
1414
"github.com/google/kf/v2/pkg/apis/kf/v1alpha1"
1515
"github.com/google/kf/v2/pkg/internal/selectorutil"
1616
appsv1 "k8s.io/api/apps/v1"

pkg/reconciler/task/resources/task_run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"strings"
1919
"time"
2020

21-
"github.com/alessio/shellescape"
21+
"al.essio.dev/pkg/shellescape"
2222
"github.com/google/kf/v2/pkg/apis/kf/config"
2323
"github.com/google/kf/v2/pkg/apis/kf/v1alpha1"
2424
appresources "github.com/google/kf/v2/pkg/reconciler/app/resources"

pkg/sourceimage/create.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,7 @@ func BuildIgnoreFilter(srcPath string) (FileFilter, error) {
311311
}
312312

313313
if gitignore == nil {
314-
gitignore, err = ignore.CompileIgnoreLines(defaultIgnoreLines...)
315-
if err != nil {
316-
return nil, err
317-
}
314+
gitignore = ignore.CompileIgnoreLines(defaultIgnoreLines...)
318315
}
319316

320317
return func(path string) bool {

third_party/VENDOR-LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8233,7 +8233,7 @@ SOFTWARE.
82338233

82348234

82358235
===========================================================
8236-
Module: github.com/alessio/shellescape
8236+
Module: al.essio.dev/pkg/shellescape
82378237

82388238

82398239
The MIT License (MIT)

0 commit comments

Comments
 (0)