Skip to content

Commit

Permalink
fix: run migrations in mission control
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Aug 20, 2024
1 parent 986677c commit e14697a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (t *Config) Migrate() bool {
// depending on whether it's being used on mission-control or (config-db/canary-checker).
switch t.MigrationMode {
case RunByDefault:
return t.SkipMigrations
return !t.SkipMigrations

default:
return t.RunMigrations
Expand Down

0 comments on commit e14697a

Please sign in to comment.