Commit 1ed1f8e
committed
Update pgBackRest repo option logic
When taking a backup, PGO tries to help by not allowing the user
to pass the "--repo" option. However, the current method for catching
this results in catching any option that begins with "--repo", which
prevents users from passing in perfectly valid options.
This commit corrects the flag check to only block on exact matches of
"--repo".
Issue: [sc-16128]1 parent 613913d commit 1ed1f8e
File tree
2 files changed
+24
-6
lines changed- internal/controller/postgrescluster
2 files changed
+24
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
1014 | | - | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
1015 | 1017 | | |
1016 | 1018 | | |
1017 | 1019 | | |
| |||
2200 | 2202 | | |
2201 | 2203 | | |
2202 | 2204 | | |
| 2205 | + | |
| 2206 | + | |
2203 | 2207 | | |
2204 | 2208 | | |
2205 | | - | |
| 2209 | + | |
2206 | 2210 | | |
2207 | 2211 | | |
2208 | 2212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1831 | 1831 | | |
1832 | 1832 | | |
1833 | 1833 | | |
1834 | | - | |
| 1834 | + | |
1835 | 1835 | | |
1836 | | - | |
1837 | | - | |
| 1836 | + | |
| 1837 | + | |
1838 | 1838 | | |
1839 | 1839 | | |
1840 | | - | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
1841 | 1855 | | |
1842 | 1856 | | |
1843 | 1857 | | |
| |||
0 commit comments