fix: address confusing error message with SetOrder* functions (#11571) (#11581)

This commit is contained in:
mergify[bot] 2022-04-08 10:13:00 -04:00 committed by GitHub
parent 7ac1ac65f0
commit 5f5cba2f8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,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))
}
}