mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 10:30:18 +02:00
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:
@@ -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 ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user