fix warning

This commit is contained in:
Lucy Cifferello
2022-09-09 15:38:30 -06:00
parent 6f831e805d
commit 027a1d7b19

View File

@@ -586,7 +586,7 @@ eosUpload (EosUpload name img version) = do
<&> setRequestHeaders [("Content-Length", show size)]
<&> applyBasicAuth (B8.pack publishCfgRepoUser) (B8.pack publishCfgRepoPass)
hash <- hashFile @_ @SHA256 img
bar <- newProgressBar defStyle 30 (Progress 0 (fromIntegral size) ())
bar <- newProgressBar defStyle 30 (Progress 0 size ())
body <- observedStreamFile (updateProgress bar . const . sfs2prog) img
let withBody = setRequestBody body noBody
let withQParams =