File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
pkg/clients/events/consumer Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -138,11 +138,11 @@ func decodeUpdateClientEvent(data map[string]any) (clients.Client, error) {
138
138
}
139
139
140
140
func decodeChangeStatusClientEvent (data map [string ]any ) (clients.Client , error ) {
141
- g , err := ToClientStatus (data )
141
+ c , err := ToClientStatus (data )
142
142
if err != nil {
143
143
return clients.Client {}, errors .Wrap (errDecodeChangeStatusClientEvent , err )
144
144
}
145
- return g , nil
145
+ return c , nil
146
146
}
147
147
148
148
func ToClientStatus (data map [string ]any ) (clients.Client , error ) {
@@ -181,14 +181,14 @@ func ToClientStatus(data map[string]any) (clients.Client, error) {
181
181
}
182
182
183
183
func decodeRemoveClientEvent (data map [string ]any ) (clients.Client , error ) {
184
- var g clients.Client
184
+ var c clients.Client
185
185
id , ok := data ["id" ].(string )
186
186
if ! ok {
187
187
return clients.Client {}, errors .Wrap (errDecodeRemoveClientEvent , errID )
188
188
}
189
- g .ID = id
189
+ c .ID = id
190
190
191
- return g , nil
191
+ return c , nil
192
192
}
193
193
194
194
func decodeSetParentGroupEvent (data map [string ]any ) (clients.Client , error ) {
You can’t perform that action at this time.
0 commit comments