Skip to content

Commit b320404

Browse files
committed
Minor fix and comment removed
1 parent 43f8906 commit b320404

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

commands/instances.go

-5
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,6 @@ func UpdateIndex(ctx context.Context, req *rpc.UpdateIndexReq, downloadCB Downlo
176176
if err := tmp.CopyTo(coreIndexPath); err != nil {
177177
return nil, fmt.Errorf("Error saving downloaded index "+URL.String(), err)
178178
}
179-
180-
// err := packageindex.UpdateIndex(URL, coreInstance.config.IndexesDir())
181-
// if err != nil {
182-
// return nil, fmt.Errorf("cannot create file: %s", err)
183-
// }
184179
}
185180
Rescan(ctx, &rpc.RescanReq{Instance: req.Instance})
186181
return &rpc.UpdateIndexResp{}, nil

daemon/client/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func main() {
183183
os.Exit(1)
184184
}
185185
if uiResp.GetDownloadProgress() != nil {
186-
fmt.Printf(">> DOWNLOADc: %s\n", uiResp.GetDownloadProgress())
186+
fmt.Printf(">> DOWNLOAD: %s\n", uiResp.GetDownloadProgress())
187187
}
188188
}
189189

0 commit comments

Comments
 (0)