Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemtam committed Oct 15, 2023
1 parent 4d58a35 commit f6ff805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func Load(act *githubactions.Action) (*Input, error) {
}

// Run runs the "migrate apply" for the input.
func Run(ctx context.Context, i *Input) (*atlasexec.ApplyReport, error) {
func Run(ctx context.Context, i *Input) (*atlasexec.MigrateApply, error) {
wd, err := os.Getwd()
if err != nil {
return nil, err
Expand Down Expand Up @@ -139,5 +139,5 @@ func Run(ctx context.Context, i *Input) (*atlasexec.ApplyReport, error) {
params.ConfigURL = cfg
params.Env = "atlas"
}
return client.Apply(ctx, params)
return client.MigrateApply(ctx, params)
}

0 comments on commit f6ff805

Please sign in to comment.