Skip to content

Commit

Permalink
bump migrator
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Sep 12, 2023
1 parent 0d22da3 commit 7f60754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ require (
github.com/olekukonko/tablewriter v0.0.5
github.com/packethost/packngo v0.29.0
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
github.com/pluralsh/cluster-api-migration v0.2.12
github.com/pluralsh/cluster-api-migration v0.2.14
github.com/pluralsh/gqlclient v1.10.0
github.com/pluralsh/plural-operator v0.5.5
github.com/pluralsh/polly v0.1.1
Expand Down
6 changes: 1 addition & 5 deletions pkg/provider/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,8 @@ func awsFromManifest(man *manifest.ProjectManifest) (*AWSProvider, error) {
if err != nil {
return nil, err
}
accountId, err := GetAwsAccount(ctx)
if err != nil {
return nil, err
}
providerCtx := map[string]interface{}{}
providerCtx["AWSAccountID"] = accountId

return &AWSProvider{Clus: man.Cluster, project: man.Project, bucket: man.Bucket, Reg: man.Region, storageClient: client, goContext: &ctx, ctx: providerCtx}, nil
}

Expand Down

0 comments on commit 7f60754

Please sign in to comment.