Skip to content
Snippets Groups Projects
Verified Commit 8060c02e authored by Gabriel Zachmann's avatar Gabriel Zachmann
Browse files

fix composite literal uses unkeyed fields

parent fe485c18
No related branches found
No related tags found
No related merge requests found
Pipeline #349652 passed
......@@ -135,8 +135,8 @@ func RequireCapability(
rlog, tx, mt.ID, api.NotificationClassInsufficientCapabilities, clientData,
model.KeyValues{
{
"Needed Capability",
capability.Name,
Key: "Needed Capability",
Value: capability.Name,
},
},
)
......@@ -264,8 +264,8 @@ func RequireMytokenIsParentOrCapability(
rlog, tx, mt.ID, api.NotificationClassInsufficientCapabilities, clientData,
model.KeyValues{
{
"Needed Capability",
capabilityIfNotParent.Name,
Key: "Needed Capability",
Value: capabilityIfNotParent.Name,
},
},
)
......
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