@@ -93,7 +93,7 @@ func (b *Backend) pathConfigDelete(ctx context.Context, req *logical.Request, da
9393 }
9494
9595 if err = req .Storage .Delete (ctx , fmt .Sprintf ("%s/%s" , PathConfigStorage , name )); err == nil {
96- event .Event (ctx , b .Backend , operationPrefixGitlabAccessTokens , "config-delete" , map [string ]string {
96+ _ = event .Event (ctx , b .Backend , operationPrefixGitlabAccessTokens , "config-delete" , map [string ]string {
9797 "path" : fmt .Sprintf ("%s/%s" , PathConfigStorage , name ),
9898 })
9999 b .SetClient (nil , name )
@@ -148,7 +148,7 @@ func (b *Backend) pathConfigPatch(ctx context.Context, req *logical.Request, dat
148148 defer b .lockClientMutex .Unlock ()
149149 if err = saveConfig (ctx , * config , req .Storage ); err == nil {
150150 lrd := config .LogicalResponseData (b .flags .ShowConfigToken )
151- event .Event (ctx , b .Backend , operationPrefixGitlabAccessTokens , "config-patch" , changes )
151+ _ = event .Event (ctx , b .Backend , operationPrefixGitlabAccessTokens , "config-patch" , changes )
152152 b .SetClient (nil , name )
153153 b .Logger ().Debug ("Patched config" , "lrd" , lrd , "warnings" , warnings )
154154 lResp = & logical.Response {Data : lrd , Warnings : warnings }
@@ -207,7 +207,7 @@ func (b *Backend) pathConfigWrite(ctx context.Context, req *logical.Request, dat
207207 var lResp * logical.Response
208208
209209 if err = saveConfig (ctx , * config , req .Storage ); err == nil {
210- event .Event (ctx , b .Backend , operationPrefixGitlabAccessTokens , "config-write" , map [string ]string {
210+ _ = event .Event (ctx , b .Backend , operationPrefixGitlabAccessTokens , "config-write" , map [string ]string {
211211 "path" : fmt .Sprintf ("%s/%s" , PathConfigStorage , name ),
212212 "auto_rotate_token" : strconv .FormatBool (config .AutoRotateToken ),
213213 "auto_rotate_before" : config .AutoRotateBefore .String (),
0 commit comments