Skip to content

Commit 5ffd90c

Browse files
committed
fix: align struct field formatting in toStorageClient
Fix gci lint failure caused by misaligned struct field values after adding the ClientCredentialsClaims field. Signed-off-by: Carles Arnal <carnalca@redhat.com> Signed-off-by: Carles Arnal <carlesarnal92@gmail.com>
1 parent ba0ec40 commit 5ffd90c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

storage/ent/client/types.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ func toStorageAuthCode(a *db.AuthCode) storage.AuthCode {
8181

8282
func toStorageClient(c *db.OAuth2Client) storage.Client {
8383
return storage.Client{
84-
ID: c.ID,
85-
Secret: c.Secret,
86-
RedirectURIs: c.RedirectUris,
87-
TrustedPeers: c.TrustedPeers,
88-
Public: c.Public,
89-
Name: c.Name,
90-
LogoURL: c.LogoURL,
91-
AllowedConnectors: c.AllowedConnectors,
92-
MFAChain: c.MfaChain,
84+
ID: c.ID,
85+
Secret: c.Secret,
86+
RedirectURIs: c.RedirectUris,
87+
TrustedPeers: c.TrustedPeers,
88+
Public: c.Public,
89+
Name: c.Name,
90+
LogoURL: c.LogoURL,
91+
AllowedConnectors: c.AllowedConnectors,
92+
MFAChain: c.MfaChain,
9393
ClientCredentialsClaims: c.ClientCredentialsClaims,
9494
}
9595
}

0 commit comments

Comments
 (0)