Remove deprecated egress client (#1701)

* remove deprecated egress client

* don't copy mutex
This commit is contained in:
David Colburn
2023-05-09 16:54:32 -07:00
committed by GitHub
parent f543e3f8d0
commit 0a3c22993e
6 changed files with 48 additions and 167 deletions
+2 -3
View File
@@ -505,11 +505,10 @@ func (s *RedisStore) storeIngress(_ context.Context, info *livekit.IngressInfo)
}
// ignore state
infoCopy := livekit.IngressInfo{}
infoCopy = *info
infoCopy := proto.Clone(info).(*livekit.IngressInfo)
infoCopy.State = nil
data, err := proto.Marshal(&infoCopy)
data, err := proto.Marshal(infoCopy)
if err != nil {
return err
}