You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since ff06373 I don't think create_admin can ever work. It
does not specify `from_script` when getting an OpenQA::Schema
instance, so Schema's `connect_db` will try and do
`OpenQA::App->singleton->home`, and that's never going to work
because we don't really have an app singleton (nothing is ever
going to have called `set_singleton` on this path, I don't
think).
As a script, create_admin should clearly be using the
from_script path, so let's change the way it gets a Schema
instance to match all the other scripts and fix the problem.
Signed-off-by: Adam Williamson <[email protected]>
0 commit comments