use spinner for update summary

This commit is contained in:
Daylin Morgan 2024-10-04 09:59:21 -05:00
parent 88af7af855
commit 0a0f8d1de1
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -155,6 +155,7 @@ proc fetchUpdateSummaryFromUrl(url: string): string =
reader.close() reader.close()
proc getUpdateSummary*(runId: int, host: string): string = proc getUpdateSummary*(runId: int, host: string): string =
withSpinner("fetching update summary"):
let url = getUpdateSummaryUrl(runId, host) let url = getUpdateSummaryUrl(runId, host)
result = fetchUpdateSummaryFromUrl(url) result = fetchUpdateSummaryFromUrl(url)