Commit aa07e6c
fix: validate server after resolution, not before (ISS-43 review)
Move cfg.Server = targetServer before ValidateForUp() so validation
checks the resolved value instead of the stale YAML value. Prevents
subtle bugs if ValidateForUp is extended to check additional fields.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a5784b4 commit aa07e6c
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
172 | 173 | | |
173 | | - | |
174 | | - | |
175 | | - | |
| 174 | + | |
176 | 175 | | |
177 | | - | |
178 | 176 | | |
179 | 177 | | |
180 | 178 | | |
| |||
0 commit comments