Skip to content

Commit

Permalink
Merge pull request #346 from yuwenma/cleanup
Browse files Browse the repository at this point in the history
remove dup imports
  • Loading branch information
k8s-ci-robot committed Jul 7, 2023
2 parents cc2f85e + ddeb89e commit 8f5c459
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/patterns/declarative/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
restclient "k8s.io/client-go/rest"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/controller"
"sigs.k8s.io/controller-runtime/pkg/handler"
Expand Down Expand Up @@ -101,7 +100,7 @@ func WatchChildren(options WatchChildrenOptions) error {
if options.Manager != nil {
restMapper = options.Manager.GetRESTMapper()
} else {
client, err := restclient.HTTPClientFor(options.RESTConfig)
client, err := rest.HTTPClientFor(options.RESTConfig)
if err != nil {
return err
}
Expand Down

0 comments on commit 8f5c459

Please sign in to comment.