Skip to content
Snippets Groups Projects
Commit 304e21db authored by Balasankar 'Balu' C's avatar Balasankar 'Balu' C
Browse files

Consolidate hyphenation and underscoring of keys to methods

Currently, we hyphenate first level keys when used as node attributes.
However, because gitlab.rb uses an underscored form of these keys, it
becomes confusing to figure out which form to use where. So, we are
moving to underscored form everywhere.

As a first step, we are consolidating the hyphenation and underscroring
logic that is spread across the codebase into dedicated methods so that
we can migrate services one at a time using an exception list.

Related https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/6873



Signed-off-by: default avatarBalasankar "Balu" C <balasankar@gitlab.com>
parent 30d7ba9b
No related branches found
No related tags found
2 merge requests!102heptapod#1237: making 0.38 the new oldstable,!90Merged upstream 15.9.0+ce.0 into heptapod branch
Showing
with 87 additions and 24 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment