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:
Abin Simon 2023-09-01 16:07:57 +05:30 committed by GitHub
parent f607429440
commit 24a2fc5a81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,6 @@ import (
"context"
"encoding/base64"
"encoding/binary"
"fmt"
"io"
"os"
"runtime/trace"
@ -249,10 +248,12 @@ func (cp *corsoProgress) FinishedHashingFile(fname string, bs int64) {
for i := range sl {
rdt, err := base64.StdEncoding.DecodeString(sl[i])
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(