Skip to content

Commit 5ee0ac0

Browse files
authored
add LNI to initialisms (#368)
Issue #, if available: N/A Description of changes: adds LNI to initialisms with test By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 6e2ffbc commit 5ee0ac0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/names/names.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ var (
116116
{"Jwt", "JWT", "jwt", nil},
117117
{"Kms", "KMS", "kms", nil},
118118
{"Ldap", "LDAP", "ldap", nil},
119+
{"Lni", "LNI", "lni", nil},
119120
{"Mfa", "MFA", "mfa", nil},
120121
// Prevent "Native" from becoming "NATive"
121122
{"Nat", "NAT", "nat", regexp.MustCompile("Nat(?!i)", regexp.None)},

pkg/names/names_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ func TestNames(t *testing.T) {
6262
{"KeyID", "KeyID", "keyID", "key_id"},
6363
{"KeyIdentifier", "KeyIdentifier", "keyIdentifier", "key_identifier"},
6464
{"LdapServerMetadata", "LDAPServerMetadata", "ldapServerMetadata", "ldap_server_metadata"},
65+
{"Lni", "LNI", "lni", "lni"},
6566
{"MaxIdleConnectionsPercent", "MaxIdleConnectionsPercent", "maxIdleConnectionsPercent", "max_idle_connections_percent"},
6667
{"MultipartUpload", "MultipartUpload", "multipartUpload", "multipart_upload"},
6768
{"Nat", "NAT", "nat", "nat"},

0 commit comments

Comments
 (0)