Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhuaaa committed Apr 21, 2024
1 parent 5b575aa commit 5b731b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/mls/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ func (s *Store) PublishIdentityUpdate(ctx context.Context, req *identity.Publish
updates := make([]*associations.IdentityUpdate, 0, len(inbox_log_entries)+1)
for _, log := range inbox_log_entries {
identity_update := &associations.IdentityUpdate{}
proto.Unmarshal(log.IdentityUpdateProto, identity_update)
if err := proto.Unmarshal(log.IdentityUpdateProto, identity_update); err != nil {
return err
}
updates = append(updates, identity_update)
}
_ = append(updates, new_update)
Expand Down

0 comments on commit 5b731b5

Please sign in to comment.