Commit 4c5de6c
Fix gcp-postgres teardown: skip re-download and re-start of proxy
The init function runs for both 'up' and 'down'. On teardown, curl
fails writing the binary (exit code 23) because the running proxy
holds it. Skip download if binary exists and skip proxy start if
already running.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: eakmanrq <6326532+eakmanrq@users.noreply.github.com>1 parent 98ea8b3 commit 4c5de6c
1 file changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
0 commit comments