Skip to content

Commit

Permalink
Fix lint issued (gci'd files)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Millán <[email protected]>
  • Loading branch information
jbcjorge committed Nov 4, 2024
1 parent a2f5f4c commit b0e723b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
18 changes: 8 additions & 10 deletions pkg/controller/cloudfront/originaccesscontrol/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,13 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

//nolint:gocyclo,staticcheck,golint
package originaccesscontrol

import (
"context"
"slices"

svcapitypes "github.com/crossplane-contrib/provider-aws/apis/cloudfront/v1alpha1"
"github.com/crossplane-contrib/provider-aws/apis/v1alpha1"
cloudfront "github.com/crossplane-contrib/provider-aws/pkg/controller/cloudfront/utils"
"github.com/crossplane-contrib/provider-aws/pkg/features"
"github.com/crossplane-contrib/provider-aws/pkg/utils/pointer"
custommanaged "github.com/crossplane-contrib/provider-aws/pkg/utils/reconciler/managed"

svcsdk "github.com/aws/aws-sdk-go/service/cloudfront"
xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
"github.com/crossplane/crossplane-runtime/pkg/connection"
"github.com/crossplane/crossplane-runtime/pkg/controller"
Expand All @@ -36,9 +29,14 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/meta"
"github.com/crossplane/crossplane-runtime/pkg/reconciler/managed"
"github.com/crossplane/crossplane-runtime/pkg/resource"

svcsdk "github.com/aws/aws-sdk-go/service/cloudfront"
ctrl "sigs.k8s.io/controller-runtime"

svcapitypes "github.com/crossplane-contrib/provider-aws/apis/cloudfront/v1alpha1"
"github.com/crossplane-contrib/provider-aws/apis/v1alpha1"
cloudfront "github.com/crossplane-contrib/provider-aws/pkg/controller/cloudfront/utils"
"github.com/crossplane-contrib/provider-aws/pkg/features"
"github.com/crossplane-contrib/provider-aws/pkg/utils/pointer"
custommanaged "github.com/crossplane-contrib/provider-aws/pkg/utils/reconciler/managed"
)

var (
Expand Down
7 changes: 3 additions & 4 deletions pkg/controller/cloudfront/originaccesscontrol/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ import (
"context"
"testing"

svcapitypes "github.com/crossplane-contrib/provider-aws/apis/cloudfront/v1alpha1"

svcsdk "github.com/aws/aws-sdk-go/service/cloudfront"
"github.com/crossplane/crossplane-runtime/pkg/errors"
"github.com/crossplane/crossplane-runtime/pkg/meta"
"github.com/crossplane/crossplane-runtime/pkg/test"

svcsdk "github.com/aws/aws-sdk-go/service/cloudfront"
"github.com/google/go-cmp/cmp"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

svcapitypes "github.com/crossplane-contrib/provider-aws/apis/cloudfront/v1alpha1"
)

type upToDateArgs struct {
Expand Down

0 comments on commit b0e723b

Please sign in to comment.