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:
Oleksii Kliukin
2018-02-20 16:31:44 +01:00
committed by GitHub
parent c597377617
commit 99c090899f
+1 -1
View File
@@ -505,7 +505,7 @@ func (c *Cluster) generatePodTemplate(
func getWALBucketScopeSuffix(uid string) string {
if uid != "" {
return fmt.Sprintf("-%s", uid)
return fmt.Sprintf("/%s", uid)
}
return ""
}