Skip to content

Commit 52db7c3

Browse files
authored
Merge pull request #1326 from camilamacedo86/fix-issue
🐛 replace pkg/runtime/log for pkg/log in just the v2 scaffolding.
2 parents 1bbfd06 + 0a44620 commit 52db7c3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pkg/scaffold/v2/webhook/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ package {{ .Resource.Version }}
9696
9797
import (
9898
ctrl "sigs.k8s.io/controller-runtime"
99-
logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
99+
logf "sigs.k8s.io/controller-runtime/pkg/log"
100100
{{- if or .Validating .Defaulting }}
101101
"k8s.io/apimachinery/pkg/runtime"
102102
"sigs.k8s.io/controller-runtime/pkg/webhook"

testdata/project-v2-multigroup/apis/crew/v1/captain_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package v1
1919
import (
2020
"k8s.io/apimachinery/pkg/runtime"
2121
ctrl "sigs.k8s.io/controller-runtime"
22-
logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
22+
logf "sigs.k8s.io/controller-runtime/pkg/log"
2323
"sigs.k8s.io/controller-runtime/pkg/webhook"
2424
)
2525

testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package v1beta1
1818

1919
import (
2020
ctrl "sigs.k8s.io/controller-runtime"
21-
logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
21+
logf "sigs.k8s.io/controller-runtime/pkg/log"
2222
)
2323

2424
// log is for logging in this package.

testdata/project-v2/api/v1/captain_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package v1
1919
import (
2020
"k8s.io/apimachinery/pkg/runtime"
2121
ctrl "sigs.k8s.io/controller-runtime"
22-
logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
22+
logf "sigs.k8s.io/controller-runtime/pkg/log"
2323
"sigs.k8s.io/controller-runtime/pkg/webhook"
2424
)
2525

testdata/project-v2/api/v1/firstmate_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package v1
1818

1919
import (
2020
ctrl "sigs.k8s.io/controller-runtime"
21-
logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
21+
logf "sigs.k8s.io/controller-runtime/pkg/log"
2222
)
2323

2424
// log is for logging in this package.

0 commit comments

Comments
 (0)