Commit 8cd1e70
committed
fix: only block server start for profile validation errors
The ServerStatusToggle was using rawConfigErrors.length > 0 which
included all config errors like genai-disabled. This caused the
Start button to be disabled even when the profile was valid.
Now filters to only profile validation errors:
- no-active-profile
- invalid-label-selector
- no-custom-rules
This fixes the e2e test failure where the Start button was disabled.
Signed-off-by: Ian Bolton <[email protected]>1 parent 15f24de commit 8cd1e70
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
138 | 147 | | |
139 | 148 | | |
140 | 149 | | |
| |||
160 | 169 | | |
161 | 170 | | |
162 | 171 | | |
163 | | - | |
| 172 | + | |
164 | 173 | | |
165 | 174 | | |
166 | 175 | | |
| |||
0 commit comments