Skip to content

Commit

Permalink
Fix Travis goimports linting error
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Orive <adrian.orive.oneca@gmail.com>
  • Loading branch information
Adirio committed Jan 13, 2020
1 parent 02398f9 commit 30ec554
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/scaffold/v2/controller/controller_suitetest.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"sigs.k8s.io/kubebuilder/pkg/scaffold/input"
"sigs.k8s.io/kubebuilder/pkg/scaffold/resource"
"sigs.k8s.io/kubebuilder/pkg/scaffold/util"
"sigs.k8s.io/kubebuilder/pkg/scaffold/v2"
scaffoldv2 "sigs.k8s.io/kubebuilder/pkg/scaffold/v2"
"sigs.k8s.io/kubebuilder/pkg/scaffold/v2/internal"
)

Expand Down Expand Up @@ -137,8 +137,8 @@ Expect(err).NotTo(HaveOccurred())

err := internal.InsertStringsInFile(f.Path,
map[string][]string{
v2.ApiPkgImportScaffoldMarker: []string{ctrlImportCodeFragment, apiImportCodeFragment},
v2.ApiSchemeScaffoldMarker: []string{addschemeCodeFragment},
scaffoldv2.ApiPkgImportScaffoldMarker: []string{ctrlImportCodeFragment, apiImportCodeFragment},
scaffoldv2.ApiSchemeScaffoldMarker: []string{addschemeCodeFragment},
})
if err != nil {
return err
Expand Down

0 comments on commit 30ec554

Please sign in to comment.