Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix job name #146

Merged
1 commit merged into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
using System.Threading;
using System.Threading.Tasks;
using Application.Aggregates.Contract;
using Application.Api.GraphQL.Bakers;
using Application.Api.GraphQL.EfCore;
using Application.Import.ConcordiumNode;
using Application.Observability;
using Application.Resilience;
using Concordium.Sdk.Client;
using Concordium.Sdk.Types;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
Expand All @@ -21,16 +19,16 @@ namespace Application.Database.MigrationJobs;
/// from the chain.
/// </summary>
public class _00_UpdateValidatorCommissionRates : IMainMigrationJob {
/// <summary>
/// WARNING - Do not change this if job already executed on environment, since it will trigger rerun of job.
/// </summary>
private const string JobName = "_00_UpdateValidatorCommissionRates";

private readonly IDbContextFactory<GraphQlDbContext> _contextFactory;
private readonly IConcordiumNodeClient _client;
private readonly JobHealthCheck _jobHealthCheck;
private readonly ILogger _logger;
private readonly MainMigrationJobOptions _mainMigrationJobOptions;

/// <summary>
/// WARNING - Do not change this if job already executed on environment, since it will trigger rerun of job.
/// </summary>
private const string JobName = "_00_FixValidatorCommissionRates";

public _00_UpdateValidatorCommissionRates(
IDbContextFactory<GraphQlDbContext> contextFactory,
Expand Down