Skip to content

Fix crash in Puma validation initializer

Matthias Käppler requested to merge mk-fix-puma-validation-crash into master

What does this MR do?

Fixes a boot-time crash introduced in !51906 (merged) due to a method ordering problem. (allow_single_mode? was called before it was defined.)

The unit test loads this initializer; I am not sure why it did not detect this issue.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Kamil Trzciński

Merge request reports