diff --git a/go/logic/applier.go b/go/logic/applier.go index 0d322f6..1a3d3f5 100644 --- a/go/logic/applier.go +++ b/go/logic/applier.go @@ -131,16 +131,16 @@ func (this *Applier) ValidateOrDropExistingTables() error { if this.migrationContext.Resurrect { ghostTableExists := this.tableExists(this.migrationContext.GetGhostTableName()) if !ghostTableExists { - return fmt.Errorf("--ressurect requested, but ghost table %s doesn't exist. Panicking.", this.migrationContext.GetGhostTableName()) + return fmt.Errorf("--resurrect requested, but ghost table %s doesn't exist. Panicking.", this.migrationContext.GetGhostTableName()) } changelogTableExists := this.tableExists(this.migrationContext.GetChangelogTableName()) if !changelogTableExists { - return fmt.Errorf("--ressurect requested, but changelog table %s doesn't exist. Panicking.", this.migrationContext.GetChangelogTableName()) + return fmt.Errorf("--resurrect requested, but changelog table %s doesn't exist. Panicking.", this.migrationContext.GetChangelogTableName()) } return nil } - // Normal mode (no resurrection) + // Normal mode (no resurrection) if this.migrationContext.InitiallyDropGhostTable { if err := this.DropGhostTable(); err != nil { return err