Skip to content

Commit

Permalink
fix: address confusing error message with SetOrder* functions (#11571) (
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Apr 8, 2022
1 parent 55bc66b commit 625d362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func (m *Manager) assertNoForgottenModules(setOrderFnName string, moduleNames []
}
if len(missing) != 0 {
panic(fmt.Sprintf(
"%s: all modules must be defined when setting SetOrderMigrations, missing: %v", setOrderFnName, missing))
"%s: all modules must be defined when setting %s, missing: %v", setOrderFnName, setOrderFnName, missing))
}
}

Expand Down

0 comments on commit 625d362

Please sign in to comment.