Skip to content

Commit 479659e

Browse files
Update bucketpath.go
1 parent 2a071ba commit 479659e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/bucketpath.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import (
44
"encoding/base64"
55
"strings"
66
"time"
7-
"unicode/utf8"
7+
"unicode/utf8",
8+
"fmt"
89
)
910

1011
const (
@@ -173,6 +174,7 @@ func GetOptimisticBucketPath(url string, method string) string {
173174
}
174175

175176
decodedPart, err := base64.StdEncoding.DecodeString(part)
177+
fmt.Println("decoded parts", decodedPart);
176178
if err != nil {
177179
interactionId = "Unknown"
178180
} else {
@@ -181,6 +183,8 @@ func GetOptimisticBucketPath(url string, method string) string {
181183
// [2] = a token, this is what we want for the bucket
182184
interactionId = strings.Split(string(decodedPart), ":")[2]
183185
}
186+
187+
fmt.Println("the interaction ID is", interactionId);
184188

185189
bucket.WriteByte('/')
186190
bucket.WriteString(interactionId)

0 commit comments

Comments
 (0)