Change the suffix delimiter to slash. (#242)
This allows using S3 API in order to simplify finding all folders that are different only by a suffix, since the suffix delimiter will not occur in the suffix itself (currently being a UID).
This commit is contained in:
parent
c597377617
commit
99c090899f
|
|
@ -505,7 +505,7 @@ func (c *Cluster) generatePodTemplate(
|
||||||
|
|
||||||
func getWALBucketScopeSuffix(uid string) string {
|
func getWALBucketScopeSuffix(uid string) string {
|
||||||
if uid != "" {
|
if uid != "" {
|
||||||
return fmt.Sprintf("-%s", uid)
|
return fmt.Sprintf("/%s", uid)
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue