refactor(runs): Step, Sleep and Wait are generic methods on the run context (#1977)
This commit is contained in:
3 files changed
+11
-11
No files matched your search
@@ -61,7 +61,7 @@ func Migrate(ctx context.Context, log *slog.Logger, ownerURL, runtimeURL string,
|
||||
return fmt.Errorf("apply migrations: %w", err)
|
||||
}
|
||||
for _, r := range results {
|
||||
log.InfoContext(ctx, "migration applied", "version", r.Source.Version, "file", r.Source.Path, "took", r.Duration)
|
||||
log.InfoContext(ctx, "migration applied", "migration", r.Source.Version, "file", r.Source.Path, "took", r.Duration)
|
||||
}
|
||||
return grantRuntime(ctx, db, runtimeURL, schemas)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user