mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 04:06:17 +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 {
|
func getWALBucketScopeSuffix(uid string) string {
|
||||||
if uid != "" {
|
if uid != "" {
|
||||||
return fmt.Sprintf("-%s", uid)
|
return fmt.Sprintf("/%s", uid)
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user