Remove stray print statement (#4168)
Change `f did not decode` print statement to a log. <!-- PR description--> --- #### Does this PR need a docs update or release note? - [ ] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [x] ⛔ No #### Type of change <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Supportability/Tests - [ ] 💻 CI/Deployment - [x] 🧹 Tech Debt/Cleanup #### Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> * #<issue> #### Test Plan <!-- How will this be tested prior to merging.--> - [ ] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
f607429440
commit
24a2fc5a81
@ -5,7 +5,6 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"runtime/trace"
|
"runtime/trace"
|
||||||
@ -249,11 +248,13 @@ func (cp *corsoProgress) FinishedHashingFile(fname string, bs int64) {
|
|||||||
for i := range sl {
|
for i := range sl {
|
||||||
rdt, err := base64.StdEncoding.DecodeString(sl[i])
|
rdt, err := base64.StdEncoding.DecodeString(sl[i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("f did not decode")
|
logger.Ctx(cp.ctx).Infow(
|
||||||
}
|
"unable to decode base64 path segment",
|
||||||
|
"segment", sl[i])
|
||||||
|
} else {
|
||||||
sl[i] = string(rdt)
|
sl[i] = string(rdt)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
logger.Ctx(cp.ctx).Debugw(
|
logger.Ctx(cp.ctx).Debugw(
|
||||||
"finished hashing file",
|
"finished hashing file",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user