mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-30 11:51:57 +00:00
fix warning
This commit is contained in:
@@ -586,7 +586,7 @@ eosUpload (EosUpload name img version) = do
|
|||||||
<&> setRequestHeaders [("Content-Length", show size)]
|
<&> setRequestHeaders [("Content-Length", show size)]
|
||||||
<&> applyBasicAuth (B8.pack publishCfgRepoUser) (B8.pack publishCfgRepoPass)
|
<&> applyBasicAuth (B8.pack publishCfgRepoUser) (B8.pack publishCfgRepoPass)
|
||||||
hash <- hashFile @_ @SHA256 img
|
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
|
body <- observedStreamFile (updateProgress bar . const . sfs2prog) img
|
||||||
let withBody = setRequestBody body noBody
|
let withBody = setRequestBody body noBody
|
||||||
let withQParams =
|
let withQParams =
|
||||||
|
|||||||
Reference in New Issue
Block a user