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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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 ""
}