fix bugs from testing.

This commit is contained in:
Raúl Kripalani
2021-08-05 14:43:01 +01:00
parent f19f5269df
commit 21d078e7e1
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -656,7 +656,7 @@ func (sm *StorageMinerAPI) DagstoreInitializeAll(ctx context.Context, params api
res := make(chan api.DagstoreShardResult, 32) // returned to caller.
go func() {
close(res) // close the caller channel.
defer close(res) // close the caller channel.
pending := len(uninit)
for pending > 0 {