Skip to content

Commit ad6ac6a

Browse files
committed
model: migration fixes
1 parent 906c666 commit ad6ac6a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

model/network_client_model.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,10 @@ func MigrateProvideMode(ctx context.Context, blockSize int) {
862862

863863
clientIds := maps.Keys(clientSecretKeys)
864864

865+
if len(clientIds) == 0 {
866+
break
867+
}
868+
865869
out := make(chan server.Id)
866870

867871
for _, clientId := range clientIds {

0 commit comments

Comments
 (0)